Versions in this module Expand all Collapse all v0 v0.11.1 May 2, 2018 v0.11.0 Feb 28, 2018 Changes in this version + var ErrBadSigningMethod = errors.New("unexpected signing method") + var ErrNoToken = errors.New("token not found in request") + var ErrTokenInvalid = errors.New("token invalid") + func GetHMACKey(jwt.SigningMethod) (interface{}, error) + func GetKeyECDSA(jwt.SigningMethod) (interface{}, error) + func GetKeyRSA(jwt.SigningMethod) (interface{}, error) + func GetKeyRSAPSS(signingMethod jwt.SigningMethod) (interface{}, error) + func New(options Options) buffalo.MiddlewareFunc + type Options struct + GetKey func(jwt.SigningMethod) (interface{}, error) + SignMethod jwt.SigningMethod