Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( UnableToReadPrivateKeyFileError = errors.New("unable to read private key file") UnableToReadPublicKeyFileError = errors.New("unable to read public 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 private key from the environment
Types ¶
Click to show internal directories.
Click to hide internal directories.