Expand description
In-process caches for OAuth tokens, AS metadata, and JWKS.
Structs§
- Cached
Token - A cached access-token entry.
- Document
Cache - Generic JSON document cache shared by metadata and JWKS layers.
- Document
Fetcher - Fetcher for JSON documents (AS metadata, JWKS, …).
- Fetch
Result - Result returned by a
DocumentFetcherFn. - Jwks
Cache - JWKS cache.
- Metadata
Cache - AS metadata cache.
- Token
Cache - In-memory cache for AS-issued machine tokens.
Functions§
- parse_
expires_ at - Extract an absolute Unix expiry timestamp from HTTP response headers.
Type Aliases§
- Document
Change Callback - Type alias for the on_change callback used by
DocumentCache. - Document
Fetcher Fn - Type alias for the boxed async fetcher closure used by
DocumentCache. - Metadata
Change Callback - Convenience alias for the metadata
on_changecallback shape.