MCPcopy
hub / github.com/codeaashu/claude-code / getSecureStorage

Function getSecureStorage

src/utils/secureStorage/index.ts:9–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7 * Get the appropriate secure storage implementation for the current platform
8 */
9export function getSecureStorage(): SecureStorage {
10 if (process.platform === 'darwin') {
11 return createFallbackStorage(macOsKeychainStorage, plainTextStorage)
12 }
13
14 // TODO: add libsecret support for Linux
15
16 return plainTextStorage
17}
18

Callers 15

saveOAuthTokensIfNeededFunction · 0.85
auth.tsFile · 0.85
savePluginOptionsFunction · 0.85
deletePluginOptionsFunction · 0.85
loadMcpServerUserConfigFunction · 0.85
saveMcpServerUserConfigFunction · 0.85
trustedDevice.tsFile · 0.85
clearTrustedDeviceTokenFunction · 0.85
enrollTrustedDeviceFunction · 0.85
performLogoutFunction · 0.85

Calls 1

createFallbackStorageFunction · 0.85

Tested by

no test coverage detected