MCPcopy Index your code
hub / github.com/codeaashu/claude-code / clearKeychainCache

Function clearKeychainCache

src/utils/secureStorage/macOsKeychainHelpers.ts:87–91  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

85}
86
87export function clearKeychainCache(): void {
88 keychainCacheState.cache = { data: null, cachedAt: 0 }
89 keychainCacheState.generation++
90 keychainCacheState.readInFlight = null
91}
92
93/**
94 * Prime the keychain cache from a prefetch result (keychainPrefetch.ts).

Callers 7

clearOAuthTokenCacheFunction · 0.85
updateFunction · 0.85
deleteFunction · 0.85
reconnectMcpServerImplFunction · 0.85
refreshAuthorizationMethod · 0.85
_doRefreshMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected