Documentation ¶
Index ¶
- Variables
- func ExtractToken(ctx context.Context) (string, error)
- func ExtractTokenMetadata(ts string, keyFunc jwt.Keyfunc) (id uint64, err error)
- func ValidToken(ctx context.Context, keyFunc jwt.Keyfunc) error
- func VerifyToken(ctx context.Context, keyFunc jwt.Keyfunc) (token *jwt.Token, err error)
- type Token
Constants ¶
This section is empty.
Variables ¶
View Source
var ( AccessKeyFunc = keyAcFunc RefreshKeyFunc = keyRfFunc )
var
Functions ¶
func ExtractToken ¶
ExtractToken extract token from context
func ExtractTokenMetadata ¶
ExtractTokenMetadata .
func VerifyToken ¶
VerifyToken .
Types ¶
Click to show internal directories.
Click to hide internal directories.