Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( UnableToReadKeyFileError = errors.New("unable to read private key file") UnableToParsePrivateKeyError = errors.New("unable to parse private key") UnableToParsePublicKeyError = errors.New("unable to parse public key") InvalidTokenError = errors.New("invalid token") UnableToIssueTokenError = errors.New("unable to issue token") UnexpectedSigningMethodError = errors.New("unexpected signing method") InvalidClaimsError = errors.New("invalid claims") TokenExpiredError = errors.New("token expired") )
Functions ¶
func LoadJwtKey ¶ added in v0.4.13
LoadJwtKey loads the JWT key from the environment
func ReadJwtKey ¶ added in v0.4.18
ReadJwtKey reads the JWT key from the given path
Types ¶
Click to show internal directories.
Click to hide internal directories.