Expand description
Authn result cache: provider-local caching of successful authentication.
Mirrors CachingPermissionEvaluator’s
backend shape — RwLock<HashMap> with lazy eviction, no moka, no new
dependency — but caches AUTHENTICATION results (minted
AuthenticatedPrincipals) keyed by provider + request constraints +
token hash. Denials are never cached. This is a different plane from
CachingPermissionEvaluator (which caches authorization decisions) and is
purely additive.
Structs§
- Authn
Cache - Provider-local cache of successful authentication results.
- Authn
Cache Key - Cache key for an authentication result.
- Authn
Cache Options - Configuration for
AuthnCache.