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

Function oauthHeaders

src/bridge/remoteBridgeCore.ts:81–87  ·  view source on GitHub ↗
(accessToken: string)

Source from the content-addressed store, hash-verified

79type ConnectCause = 'initial' | 'proactive_refresh' | 'auth_401_recovery'
80
81function oauthHeaders(accessToken: string): Record<string, string> {
82 return {
83 Authorization: `Bearer ${accessToken}`,
84 'Content-Type': 'application/json',
85 'anthropic-version': ANTHROPIC_VERSION,
86 }
87}
88
89export type EnvLessBridgeParams = {
90 baseUrl: string

Callers 1

archiveSessionFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected