Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotJWT = errors.New("auth: not a jwt token")
ErrNotJWT is returned by AccountFromToken when the provided token is not a JWT. In such a case, the caller should use another method to inspect the token.
Functions ¶
func AccountFromToken ¶
AccountFromToken restore account from the access JWT token
func AccountToToken ¶
AccountToToken converts account to JWT token
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.