MCPcopy Index your code
hub / github.com/codeaashu/claude-code / oauthHeaders

Function oauthHeaders

src/bridge/codeSessionApi.ts:18–24  ·  view source on GitHub ↗
(accessToken: string)

Source from the content-addressed store, hash-verified

16const ANTHROPIC_VERSION = '2023-06-01'
17
18function oauthHeaders(accessToken: string): Record<string, string> {
19 return {
20 Authorization: `Bearer ${accessToken}`,
21 'Content-Type': 'application/json',
22 'anthropic-version': ANTHROPIC_VERSION,
23 }
24}
25
26export async function createCodeSession(
27 baseUrl: string,

Callers 2

createCodeSessionFunction · 0.70
fetchRemoteCredentialsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected