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

Function maybeRemoveApiKeyFromMacOSKeychain

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

Source from the content-addressed store, hash-verified

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

Callers 2

saveApiKeyFunction · 0.85
removeApiKeyFunction · 0.85

Calls 2

logErrorFunction · 0.70

Tested by

no test coverage detected