Versions in this module Expand all Collapse all v1 v1.0.1 May 10, 2021 v1.0.0 May 9, 2021 Changes in this version + var ErrEncodingToken = errors.New("An error occured while encoding the JWT") + var ErrInvalidPrivateKey = errors.New("An invalid private key was provided") + var ErrInvalidToken = errors.New("An invalid token was provided") + var ErrMissingToken = errors.New("A valid JWT is required") + func NewAuth(opts ...auth.Option) auth.Auth + type AuthClaims struct + Id string + Metadata map[string]string + Roles []*auth.Role Incompatible versions in this module v2.3.0+incompatible May 9, 2021