Skip to main content

aether_auth/
lib.rs

1#![doc = include_str!("oauth.md")]
2
3mod browser;
4mod credential;
5pub mod error;
6mod fake;
7mod handler;
8
9pub use browser::{BrowserOAuthHandler, accept_oauth_callback, open_browser, wait_for_callback};
10pub use credential::{OAuthCredential, OAuthCredentialStorage, oauth_http_client};
11pub use error::OAuthError;
12pub use fake::FakeOAuthCredentialStore;
13pub use handler::{OAuthCallback, OAuthHandler};
14
15#[cfg(feature = "keyring")]
16pub mod keyring;
17#[cfg(feature = "keyring")]
18pub use keyring::OsKeyringStore;
19
20#[cfg(feature = "mcp")]
21pub mod mcp;
22#[cfg(feature = "mcp")]
23pub use mcp::{McpCredentialStore, create_auth_manager_from_store, perform_oauth_flow};