Versions in this module Expand all Collapse all v0 v0.1.0 Sep 10, 2026 Changes in this version + type Config struct + Audience string + Client *http.Client + ClockSkew time.Duration + GroupsClaim string + Issuer string + JWKSURL string + MinRefresh time.Duration + Now func() time.Time + UsernameClaim string + type Token struct + func (t *Token) Audience() []string + func (t *Token) Claim(name string, v any) error + func (t *Token) Email() string + func (t *Token) EmailVerified() bool + func (t *Token) Expiry() (time.Time, bool) + func (t *Token) Groups() []string + func (t *Token) Has(name string) bool + func (t *Token) IssuedAt() (time.Time, bool) + func (t *Token) Issuer() string + func (t *Token) NotBefore() (time.Time, bool) + func (t *Token) Subject() string + func (t *Token) Username() string + type Verifier struct + func New(ctx context.Context, cfg Config) (*Verifier, error) + func (v *Verifier) Verify(ctx context.Context, raw string) (*Token, error)