Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrTokenUnexpectedSigningMethod = errors.New("unexpected signing method") ErrTokenInvalid = errors.New("invalid token") ErrAudienceUnknown = errors.New("unknown audience") ErrSubjectUnknown = errors.New("unknown subject") ErrMissingScopes = errors.New("missing scopes") ErrTokenExpired = errors.New("token expired") )
Functions ¶
This section is empty.
Types ¶
type Authorizer ¶
type Authorizer struct {
// contains filtered or unexported fields
}
func NewAuthorizer ¶
func NewAuthorizer(key crypto.PublicKey, options Options) Authorizer
type Issuer ¶
type Issuer struct {
// contains filtered or unexported fields
}
func (Issuer) CreateToken ¶
Click to show internal directories.
Click to hide internal directories.