MCPcopy Create free account
hub / github.com/freecodexyz/free-code / clearOAuthTokenCache

Function clearOAuthTokenCache

src/utils/auth.ts:1309–1312  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1307 * server (e.g., due to clock corrections after token was issued).
1308 */
1309export function clearOAuthTokenCache(): void {
1310 getClaudeAIOAuthTokens.cache?.clear?.()
1311 clearKeychainCache()
1312}
1313
1314// ── Codex OAuth token storage ────────────────────────────────────────────────
1315// These functions manage OpenAI Codex tokens separately from Anthropic's

Callers 4

handleOAuth401ErrorImplFunction · 0.85
bridgeMainFunction · 0.85
installOAuthTokensFunction · 0.85

Calls 2

clearKeychainCacheFunction · 0.85
clearMethod · 0.45

Tested by

no test coverage detected