Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrParsingToken = errors.New("error parsing token") ErrInvalidToken = errors.New("parsed token is invalid") ErrInvalidClaims = errors.New("invalid claims") ErrInvalidIssuer = errors.New("invalid issuer") ErrInvalidAudience = errors.New("invalid audience") ErrInvalidScopes = errors.New("invalid scopes") )
Functions ¶
func MakeKeyFunc ¶
func ValidateToken ¶
func ValidateToken(fulltoken string, keyfunc jwt.Keyfunc, validations Validations) (map[string]any, error)
Types ¶
Click to show internal directories.
Click to hide internal directories.