Versions in this module Expand all Collapse all v1 v1.1.975 Nov 28, 2026 v1.1.959 Nov 22, 2026 Changes in this version + var ErrJWKSUnavailable = errors.New("JWKS unavailable") + type Config struct + Algorithms []string + Audience string + CacheTTL time.Duration + ClockSkew time.Duration + HTTPClient *http.Client + Issuer string + JWKSURL string + MetadataURL string + Resource string + Scopes []string + type ResourceServer struct + func NewResourceServer(config Config) (*ResourceServer, error) + func (rs *ResourceServer) Middleware(next http.Handler) http.Handler + func (rs *ResourceServer) ProtectedResourceMetadataHandler() http.Handler