MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / getApiKeyFromApiKeyHelperCached

Function getApiKeyFromApiKeyHelperCached

source code/utils/auth.ts:583–585  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

581 * Returns null only if the async fetch hasn't completed yet.
582 */
583export function getApiKeyFromApiKeyHelperCached(): string | null {
584 return _apiKeyHelperCache?.value ?? null
585}
586
587export function clearApiKeyHelperCache(): void {
588 _apiKeyHelperEpoch++

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected