ReadonlyalgorithmsReadonlyaudienceReadonlyclockReadonlyissuerReadonlyrolesDrops the cached JWKS so the next verification refetches it.
Verifies a raw JWT access token and returns its user.
Verifies the bearer token of a request (AuthenticationError when there is none).
StaticfromBuilds a verifier from GROW_AUTH_ISSUER (required), GROW_AUTH_AUDIENCE (default
GROW_AUTH_CLIENT_ID), GROW_AUTH_JWKS_URL, GROW_AUTH_ROLES_CLAIM (default roles) and
GROW_AUTH_CLOCK_SKEW (duration, default 60s). Explicit overrides win.
Verifies OIDC access tokens (JWT) against the issuer's JWKS.
Checks the signature (RS256/384/512, PS256/384/512, ES256/384/512, EdDSA allow-list; the key's
kty, ECcrvandalgmust match the token's algorithm),iss(exact, trailing slashes ignored),aud(contains),exp(required) andnbfwith a clock skew (default 60 s). Keys come fromjwksUrlor OIDC discovery, are cached (default 10 min) and refetched when a token names an unknownkid(key rotation, at most once per cooldown).Errors:
AuthenticationErrorfor every invalid token (the message names the failed check, never the token),UnavailableErrorwhen discovery/JWKS cannot be fetched,ConfigErrorfor bad options.