MCPcopy Create free account
hub / github.com/arctic-cli/interface / clearCachedAuth

Function clearCachedAuth

packages/arctic/src/auth/antigravity-oauth/cache.ts:57–66  ·  view source on GitHub ↗
(refresh?: string)

Source from the content-addressed store, hash-verified

55 * Clears cached auth globally or for a specific refresh token.
56 */
57export function clearCachedAuth(refresh?: string): void {
58 if (!refresh) {
59 authCache.clear();
60 return;
61 }
62 const key = normalizeRefreshKey(refresh);
63 if (key) {
64 authCache.delete(key);
65 }
66}
67
68// ============================================================================
69// Thinking Signature Cache (for Claude multi-turn conversations)

Callers

nothing calls this directly

Calls 3

normalizeRefreshKeyFunction · 0.85
clearMethod · 0.45
deleteMethod · 0.45

Tested by

no test coverage detected