MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / maybeRemoveApiKeyFromMacOSKeychain

Function maybeRemoveApiKeyFromMacOSKeychain

source code/utils/auth.ts:1187–1193  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1185}
1186
1187async function maybeRemoveApiKeyFromMacOSKeychain(): Promise<void> {
1188 try {
1189 await maybeRemoveApiKeyFromMacOSKeychainThrows()
1190 } catch (e) {
1191 logError(e)
1192 }
1193}
1194
1195// Function to store OAuth tokens in secure storage
1196export function saveOAuthTokensIfNeeded(tokens: OAuthTokens): {

Callers 2

saveApiKeyFunction · 0.85
removeApiKeyFunction · 0.85

Calls 2

logErrorFunction · 0.70

Tested by

no test coverage detected