This adds a queryable auth status for MCP servers which is useful: 1. To determine whether a streamable HTTP server supports auth or not based on whether or not it supports RFC 8414-3.2 2. Allow us to build a better user experience on top of MCP status
19 lines
552 B
Rust
19 lines
552 B
Rust
mod auth_status;
|
|
mod find_codex_home;
|
|
mod logging_client_handler;
|
|
mod oauth;
|
|
mod perform_oauth_login;
|
|
mod rmcp_client;
|
|
mod utils;
|
|
|
|
pub use auth_status::determine_streamable_http_auth_status;
|
|
pub use codex_protocol::protocol::McpAuthStatus;
|
|
pub use oauth::OAuthCredentialsStoreMode;
|
|
pub use oauth::StoredOAuthTokens;
|
|
pub use oauth::WrappedOAuthTokenResponse;
|
|
pub use oauth::delete_oauth_tokens;
|
|
pub(crate) use oauth::load_oauth_tokens;
|
|
pub use oauth::save_oauth_tokens;
|
|
pub use perform_oauth_login::perform_oauth_login;
|
|
pub use rmcp_client::RmcpClient;
|