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

Function resolveAuth

src/bridge/bridgeApi.ts:91–97  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

89 }
90
91 function resolveAuth(): string {
92 const accessToken = deps.getAccessToken()
93 if (!accessToken) {
94 throw new Error(BRIDGE_LOGIN_INSTRUCTION)
95 }
96 return accessToken
97 }
98
99 /**
100 * Execute an OAuth-authenticated request with a single retry on 401.

Callers 1

withOAuthRetryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected