Add shared OAuth flows

This commit is contained in:
fawney19
2026-04-28 15:46:21 +08:00
parent 712b484bc8
commit 70f747d406
56 changed files with 5927 additions and 977 deletions
+14
View File
@@ -0,0 +1,14 @@
pub mod core;
pub mod identity;
pub mod network;
pub mod provider;
pub use core::{
current_unix_secs, generate_oauth_nonce, generate_pkce_verifier, parse_oauth_callback_params,
pkce_s256, OAuthAdapterRegistry, OAuthAuthorizeRequest, OAuthAuthorizeResponse, OAuthCallback,
OAuthError, OAuthProviderMetadata, OAuthTokenSet,
};
pub use network::{
NetworkRequirement, OAuthHttpExecutor, OAuthHttpRequest, OAuthHttpResponse,
OAuthNetworkContext, OAuthNetworkPolicy, OAuthTimeouts,
};