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

Function hasAnthropicApiKeyAuth

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

Source from the content-addressed store, hash-verified

248}
249
250export function hasAnthropicApiKeyAuth(): boolean {
251 const { key, source } = getAnthropicApiKeyWithSource({
252 skipRetrievingKeyFromApiKeyHelper: true,
253 })
254 return key !== null && source !== 'none'
255}
256
257export function getAnthropicApiKeyWithSource(
258 opts: { skipRetrievingKeyFromApiKeyHelper?: boolean } = {},

Callers 1

index.tsFile · 0.85

Calls 1

Tested by

no test coverage detected