MCPcopy Create free account
hub / github.com/oboard/claude-code-rev / getConfiguredApiKeyHelper

Function getConfiguredApiKeyHelper

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

Source from the content-addressed store, hash-verified

403 * from ~/.claude/settings.json or project settings is ignored.
404 */
405export function getConfiguredApiKeyHelper(): string | undefined {
406 if (isBareMode()) {
407 return getSettingsForSource('flagSettings')?.apiKeyHelper
408 }
409 const mergedSettings = getSettings_DEPRECATED() || {}
410 return mergedSettings.apiKeyHelper
411}
412
413/**
414 * Check if the configured apiKeyHelper comes from project settings (projectSettings or localSettings)

Callers 6

NotificationContentFunction · 0.85
getAuthTokenSourceFunction · 0.85
_executeApiKeyHelperFunction · 0.85

Calls 2

isBareModeFunction · 0.85
getSettingsForSourceFunction · 0.85

Tested by

no test coverage detected