Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GRPCTokenServer ¶
type GRPCTokenServer struct { jwt2.TokenServer V *viper.Viper }
GRPCTokenServer 自定义token服务
func (*GRPCTokenServer) GetToken ¶
func (s *GRPCTokenServer) GetToken(ctx context.Context, in *jwt2.GetTokenRequest) (*jwt2.GetTokenResponse, error)
GetToken 获取Token
Click to show internal directories.
Click to hide internal directories.