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

Function clearOAuthTokenCache

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

Source from the content-addressed store, hash-verified

1302 * server (e.g., due to clock corrections after token was issued).
1303 */
1304export function clearOAuthTokenCache(): void {
1305 getClaudeAIOAuthTokens.cache?.clear?.()
1306 clearKeychainCache()
1307}
1308
1309let lastCredentialsMtimeMs = 0
1310

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