Documentation ¶
Index ¶
Constants ¶
View Source
const EffectiveToken = 1
EffectiveToken 有效token
View Source
const ExpireToken = 3
ExpireToken 过期token
View Source
const InvalidToken = 2
InvalidToken 无效token
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Auth ¶
func (*Auth) GetToken ¶
func (a *Auth) GetToken(loginToken LoginToken) (LoginToken, error)
GetToken 获取身份token
type ConsoleTokenClaims ¶
Click to show internal directories.
Click to hide internal directories.