()
| 1179 | } |
| 1180 | |
| 1181 | async 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 |
| 1190 | export function saveOAuthTokensIfNeeded(tokens: OAuthTokens): { |
no test coverage detected