pub fn write_codex_auth_file(cred: &OAuthCredential)Expand description
Write credentials to ~/.codex/auth.json so the Codex CLI can use them without re-login.
Called automatically after add-account and token refresh for OpenAI accounts.
pub fn write_codex_auth_file(cred: &OAuthCredential)Write credentials to ~/.codex/auth.json so the Codex CLI can use them without re-login.
Called automatically after add-account and token refresh for OpenAI accounts.