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

Function getAccessToken

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

Source from the content-addressed store, hash-verified

3320 return await exitWithError(root, `Error: ${e instanceof Error ? e.message : 'Failed to authenticate'}`, () => gracefulShutdown(1));
3321 }
3322 const getAccessToken = (): string => getClaudeAIOAuthTokens()?.accessToken ?? apiCreds.accessToken;
3323
3324 // Brief mode activation: setKairosActive(true) satisfies BOTH opt-in
3325 // 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