MCPcopy Create free account
hub / github.com/T-Lab-CUHKSZ/claude-code / getAccessToken

Function getAccessToken

src/main.tsx:3335–3335  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3333 return await exitWithError(root, `Error: ${e instanceof Error ? e.message : 'Failed to authenticate'}`, () => gracefulShutdown(1));
3334 }
3335 const getAccessToken = (): string => getClaudeAIOAuthTokens()?.accessToken ?? apiCreds.accessToken;
3336
3337 // Brief mode activation: setKairosActive(true) satisfies BOTH opt-in
3338 // and entitlement for isBriefEnabled() (BriefTool.ts:124-132).

Callers 6

createBridgeSessionFunction · 0.85
initEnvLessBridgeCoreFunction · 0.85
recoverFromAuthFailureFunction · 0.85
teardownFunction · 0.85
doRefreshFunction · 0.85
getOAuthTokenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected