Expand description
High-performance async JWKS cache with ETag revalidation, early refresh, and multi-tenant support — built for modern Rust identity systems.
Re-exports§
pub use crate::metrics::install_default_exporter;
Modules§
- cache
- Cache module containing state machine and manager implementations.
- http
- HTTP helpers for JWKS retrieval and cache semantics.
- metrics
- Metrics helpers and per-provider telemetry bookkeeping.
- security
- Security utilities covering HTTPS enforcement, domain allowlists, and SPKI pinning.
Structs§
- Identity
Provider Registration - Registration describing how to fetch and maintain JWKS for a provider.
- Persistent
Snapshot - Snapshot of cache payload persisted to external storage.
- Provider
Status - Status projection for a provider, aligned with the OpenAPI contract.
- Registry
- Registry state container.
- Registry
Builder - Builder for
Registryenabling multi-tenant configuration. - Retry
Policy - Retry configuration for HTTP fetch operations.
- Status
Metric - Metric sample used in provider status responses.
Enums§
- Error
- Unified error type for the JWKS cache crate.
- Jitter
Strategy - Supported jitter strategies for retry policies.
- Provider
State - Public representation of provider lifecycle state.
Type Aliases§
- Result
- Library-wide result type.