//! OAuth 2.0 authorization code flow.
//!
//! This module provides [`OAuth2Context`], which handles the full OAuth 2.0
//! login flow: redirecting to the provider, exchanging the authorization code
//! for tokens, and calling your [`OAuth2Handler`] with the result.
//!
//! Use [`OAuth2Ext::with_oauth2`] on a [`Router`](axum::Router) to register
//! the login and callback routes.
//!
//! Built-in provider shortcuts: [`OAuth2Context::github`], [`OAuth2Context::google`],
//! [`OAuth2Context::microsoft`], [`OAuth2Context::gitlab`], [`OAuth2Context::discord`],
//! [`OAuth2Context::spotify`], [`OAuth2Context::twitch`].
pub use OAuth2BuilderError;
pub use OAuth2Context;
pub use ;
pub use OAuth2Ext;
/// Errors returned by token requests (code exchange, refresh), re-exported
/// from the underlying `axum-security-oauth2` crate.
pub use ;