MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / authHeaders

Function authHeaders

apps/kimi-code/src/cli/sub/server/shared.ts:254–256  ·  view source on GitHub ↗
(token: string)

Source from the content-addressed store, hash-verified

252
253/** An `Authorization: Bearer <token>` header bag for `fetch`. */
254export function authHeaders(token: string): { Authorization: string } {
255 return { Authorization: `Bearer ${token}` };
256}

Callers 3

requestShutdownViaApiFunction · 0.90
fetchConnectionsFunction · 0.90
server.test.tsFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected