MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / apiKeyCred

Function apiKeyCred

packages/cli/src/auth/client.test.ts:18–20  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16}
17
18function apiKeyCred(): ResolvedCredential {
19 return { type: "api_key", key: "hg_x", source: "env" };
20}
21
22function makeClient(fetchImpl: typeof fetch): AuthClient {
23 return new AuthClient({ baseUrl: "https://api.test.example", fetchImpl });

Callers 1

client.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected