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

Function getOAuthHeaders

src/utils/teleport/api.ts:276–282  ·  view source on GitHub ↗
(accessToken: string)

Source from the content-addressed store, hash-verified

274 * @returns Headers object with Authorization, Content-Type, and anthropic-version
275 */
276export function getOAuthHeaders(accessToken: string): Record<string, string> {
277 return {
278 Authorization: `Bearer ${accessToken}`,
279 'Content-Type': 'application/json',
280 'anthropic-version': '2023-06-01',
281 }
282}
283
284/**
285 * Fetches a single session by ID from the Sessions API

Callers 15

pollRemoteSessionEventsFunction · 0.85
teleportToRemoteFunction · 0.85
archiveRemoteSessionFunction · 0.85
checkGithubAppInstalledFunction · 0.85
checkGithubTokenSyncedFunction · 0.85
fetchEnvironmentsFunction · 0.85
fetchSessionFunction · 0.85
sendEventToRemoteSessionFunction · 0.85
updateSessionTitleFunction · 0.85
createBridgeSessionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected