Versions in this module Expand all Collapse all v0 v0.3.6 Jun 14, 2023 Changes in this version + func VerifyOffline(off *Offline, r *http.Request) (jwt.Token, error) + func VerifyOfflineSlice(offs []*Offline, r *http.Request) (jwt.Token, error) + type InsufficientScopeError struct + func (e *InsufficientScopeError) Error() string + func (e *InsufficientScopeError) Unwrap() error + type InvalidRequestError struct + func ErrInvalidRequest(issuer string, msg string, err error) *InvalidRequestError + func (e *InvalidRequestError) Error() string + func (e *InvalidRequestError) Unwrap() error + type InvalidTokenError struct + func ErrInvalidToken(issuer string, msg string, err error) *InvalidTokenError + func ErrMissingAuthentication(err error) *InvalidTokenError + func (e *InvalidTokenError) Error() string + func (e *InvalidTokenError) Unwrap() error + type Offline struct + Audience string + Issuer string + KeyEndpoint *url.URL + KeySet jwk.Set + OutsideIssuer string + func New(issuer string, audience string, refreshPeriod time.Duration) (*Offline, error) + func (off *Offline) SetOutsideIssuer(issuer string)