Skip to main content

aether_auth/
lib.rs

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