#[cfg(not(any(feature = "http1", feature = "http2")))]
compile_error!(
"volga-oauth-client requires at least one of the `http1` or `http2` features to be enabled"
);
pub use cache::MetadataCache;
pub use client::{
AuthorizationRequest, AuthorizationRequestBuilder, ClientAuthMethod, OAuthClient,
};
pub use config::{ClientConfig, DEFAULT_MAX_REDIRECTS, DEFAULT_TIMEOUT};
pub use discovery::DiscoveryClient;
pub use error::ClientError;
pub use pkce::{PKCE_METHOD, Pkce};
pub use registration::RegistrationClient;
pub use store::{InMemoryTokenStore, TokenStore};
pub use token::{TokenResponse, TokenSet};
pub use volga_oauth_core::{
AuthorizationServerMetadata, BearerChallenge, ClientMetadata, ClientRegistrationResponse,
OAuthError, OAuthErrorCode, ProtectedResourceMetadata, WELL_KNOWN_AUTHORIZATION_SERVER,
WELL_KNOWN_OPENID_CONFIGURATION, WELL_KNOWN_PROTECTED_RESOURCE,
authorization_server_metadata_url, canonicalize_resource_uri, openid_configuration_url,
protected_resource_metadata_url,
};
mod cache;
mod client;
mod config;
mod discovery;
mod error;
mod pkce;
mod registration;
mod store;
mod token;
mod transport;