(refresh?: string)
| 55 | * Clears cached auth globally or for a specific refresh token. |
| 56 | */ |
| 57 | export 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) |
nothing calls this directly
no test coverage detected