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

Function clearOAuthTokenCache

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

Source from the content-addressed store, hash-verified

1356 * server (e.g., due to clock corrections after token was issued).
1357 */
1358export function clearOAuthTokenCache(): void {
1359 getClaudeAIOAuthTokens.cache?.clear?.()
1360 clearKeychainCache()
1361}
1362
1363let lastCredentialsMtimeMs = 0
1364

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