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

Function maybeRemoveApiKeyFromMacOSKeychain

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

Source from the content-addressed store, hash-verified

1257}
1258
1259async function maybeRemoveApiKeyFromMacOSKeychain(): Promise<void> {
1260 try {
1261 await maybeRemoveApiKeyFromMacOSKeychainThrows()
1262 } catch (e) {
1263 logError(e)
1264 }
1265}
1266
1267// Function to store OAuth tokens in secure storage
1268export function saveOAuthTokensIfNeeded(tokens: OAuthTokens): {

Callers 2

saveApiKeyFunction · 0.85
removeApiKeyFunction · 0.85

Calls 2

logErrorFunction · 0.70

Tested by

no test coverage detected