Versions in this module Expand all Collapse all v0 v0.2.0 Sep 23, 2026 Changes in this version type Config + AllowAnyAudience bool v0.1.0 Sep 4, 2026 Changes in this version + var ErrIdentityUnavailable = errors.New("oidc: identity unavailable") + var ErrInvalidConfig = errors.New("oidc: invalid configuration") + var ErrInvalidToken = errors.New("oidc: invalid token") + type Config struct + AllowPrivateHTTPSIssuer bool + Audience string + HTTPClient *http.Client + InsecureAllowPrivateIssuer bool + Issuer string + JWKSURI string + MaxJWKSStaleness time.Duration + TrustedCAFile string + TrustedCAPEM []byte + type Validator struct + func NewValidator(ctx context.Context, cfg Config) (*Validator, error) + func (v *Validator) Close() error + func (v *Validator) Validate(ctx context.Context, bearer string) (*session.Principal, error)