package
0.11.0
Repository: https://github.com/jacobsoderblom/buffalo.git
Documentation: pkg.go.dev

# Functions

GetHMACKey gets secret key from env.
GetKeyECDSA gets the public.pem file location from env and returns ecdsa.PublicKey.
GetKeyRSA gets the public key file location from env and returns rsa.PublicKey.
GetKeyRSAPSS uses GetKeyRSA() since both requires rsa.PublicKey.
New enables jwt token verification if no Sign method is provided, by default uses HMAC.

# Variables

ErrBadSigningMethod is returned if the token sign method in the request does not match the signing method used.
ErrNoToken is returned if no token is supplied in the request.
ErrTokenInvalid is returned when the token provided is invalid.

# Structs

Options for the JWT middleware.