MCPcopy
hub / github.com/codeaashu/claude-code / clearOAuthTokenCache

Function clearOAuthTokenCache

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

Source from the content-addressed store, hash-verified

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

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