Versions in this module Expand all Collapse all v0 v0.4.0 Mar 6, 2017 v0.3.0 Nov 15, 2016 Changes in this version + const JWTClaimsContextKey + const JWTTokenContextKey + var ErrTokenContextMissing = errors.New("token up for parsing was not passed through the context") + var ErrTokenExpired = errors.New("JWT Token is expired") + var ErrTokenInvalid = errors.New("JWT Token was invalid") + var ErrTokenMalformed = errors.New("JWT Token is malformed") + var ErrTokenNotActive = errors.New("token is not valid yet") + var ErrUnexpectedSigningMethod = errors.New("unexpected signing method") + func FromGRPCContext() grpc.RequestFunc + func FromHTTPContext() http.RequestFunc + func NewParser(keyFunc jwt.Keyfunc, method jwt.SigningMethod) endpoint.Middleware + func NewSigner(kid string, key []byte, method jwt.SigningMethod, claims Claims) endpoint.Middleware + func ToGRPCContext() grpc.RequestFunc + func ToHTTPContext() http.RequestFunc + type Claims map[string]interface