Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust
395 B
Raw Blame
//! Selects the owner of MCP OAuth refresh and credential persistence.

/// MCP OAuth policy pinned for the lifetime of a connection.
#[derive(Clone, Copy, Debug, Default, PartialEq, Eq)]
pub enum McpOAuthRefreshMode {
    /// Keep Codex's existing refresh and persistence path.
    #[default]
    Legacy,
    /// Let RMCP coordinate refresh through Codex's credential store.
    Coordinated,
}