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

Function maybeRemoveApiKeyFromMacOSKeychain

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

Source from the content-addressed store, hash-verified

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

Callers 2

saveApiKeyFunction · 0.85
removeApiKeyFunction · 0.85

Calls 2

logErrorFunction · 0.70

Tested by

no test coverage detected