Expand description
Public extension contracts (request signing, token leasing, rate limiting).
The MVP crate intentionally exposes traits without concrete implementations so
downstream services can bring their own HTTP client, token cache, and rate
budgeting strategy. Future tasks will implement opinionated adapters in
separate crates without expanding the surface of oauth2-broker itself.
Re-exports§
pub use rate_limit::*;pub use request_signer::*;pub use token_lease::*;
Modules§
- rate_
limit - Rate limit policy contracts for flows that need to consult provider budgets before issuing token requests.
- request_
signer - Request signing contracts that let downstream crates attach broker-issued tokens to arbitrary HTTP clients.
- token_
lease - Token leasing contracts that let callers borrow access tokens for short windows while the broker controls refresh lifetimes.