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

Function maybeRemoveApiKeyFromMacOSKeychain

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

Source from the content-addressed store, hash-verified

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

Callers 2

saveApiKeyFunction · 0.85
removeApiKeyFunction · 0.85

Calls 2

logErrorFunction · 0.70

Tested by

no test coverage detected