MCPcopy Index your code
hub / github.com/codeaashu/claude-code / normalizeApiKeyForConfig

Function normalizeApiKeyForConfig

src/utils/authPortable.ts:17–19  ·  view source on GitHub ↗
(apiKey: string)

Source from the content-addressed store, hash-verified

15}
16
17export function normalizeApiKeyForConfig(apiKey: string): string {
18 return apiKey.slice(-20)
19}
20

Callers 7

showSetupScreensFunction · 0.85
OnboardingFunction · 0.85
ConfigFunction · 0.85
onChangeFunction · 0.85
saveApiKeyFunction · 0.85
isCustomApiKeyApprovedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected