oauth2_broker/provider.rs
1//! Provider-facing descriptors (data) and strategies (behavior).
2//!
3//! `descriptor` exposes validated metadata (`ProviderDescriptor`) covering HTTPS-only
4//! endpoints, supported grant flags, client authentication preferences, and
5//! provider quirks (PKCE requirement, redirect semantics, scope delimiter).
6//! `strategy` defines [`ProviderStrategy`], an HTTP-client-agnostic hook used by flows
7//! to augment outgoing token requests and map responses into the broker error taxonomy.
8
9pub mod descriptor;
10pub mod strategy;
11
12pub use descriptor::*;
13pub use strategy::*;