Versions in this module Expand all Collapse all v1 v1.0.2 Feb 15, 2023 v1.0.1 Jul 13, 2022 Changes in this version + func GetkeyEdDSA(jwt.SigningMethod) (interface{}, error) v1.0.0 Jan 31, 2020 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 + AuthScheme string + GetKey func(jwt.SigningMethod) (interface{}, error) + SignMethod jwt.SigningMethod