aKode fase 5: rinomina interna (crate akode-*, akode-rs/, akode-cli/, binario akode, AKODE_*, ~/.akode, snapshot)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
11
akode-rs/rmcp-client/src/oauth_refresh_mode.rs
Normal file
11
akode-rs/rmcp-client/src/oauth_refresh_mode.rs
Normal file
@@ -0,0 +1,11 @@
|
||||
//! 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,
|
||||
}
|
||||
Reference in New Issue
Block a user