[codex] Rename host-provided auth

This commit is contained in:
Liang-Ting Jiang
2026-06-27 03:49:09 +00:00
parent 832b93e4f8
commit d485192b3e
28 changed files with 106 additions and 100 deletions
@@ -26,8 +26,8 @@ use codex_config::McpServerToolConfig;
use codex_config::types::AuthKeyringBackendKind;
use codex_config::types::OAuthCredentialsStoreMode;
use codex_exec_server::EnvironmentManager;
use codex_login::CallerProvidedAuth;
use codex_login::CodexAuth;
use codex_login::HostProvidedAuth;
use codex_protocol::ToolName;
use codex_protocol::mcp::McpServerInfo;
use codex_protocol::models::PermissionProfile;
@@ -71,9 +71,9 @@ fn create_test_tool(server_name: &str, tool_name: &str) -> ToolInfo {
}
#[test]
fn host_provided_auth_scopes_codex_apps_cache() {
let auth = CodexAuth::HostProvided(
HostProvidedAuth::new([], "user-123").with_account_id("account-123"),
fn caller_provided_auth_scopes_codex_apps_cache() {
let auth = CodexAuth::CallerProvided(
CallerProvidedAuth::new([], "user-123").with_account_id("account-123"),
);
assert_eq!(