Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( MissingTokenInContextError = errors.New("no token in context") MissingTokenClaimsInContextError = errors.New("no token claims in context") UnexpectedTokenTypeInContextError = errors.New("unexpected token type in context") UnexpectedTokenClaimsTypeInContextError = errors.New("unexpected token claims type in context") )
Functions ¶
func GetCtxRawToken ¶
GetCtxRawToken tries to get the raw token from the context
func GetCtxTokenClaims ¶
GetCtxTokenClaims tries to get the token claims from the context
func SetCtxRawToken ¶
SetCtxRawToken sets the raw token in the context
func SetCtxTokenClaims ¶
SetCtxTokenClaims sets the token claims in the context
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.