MCPcopy Create free account
hub / github.com/Gan-Xing/CodexBridge / getAuthClaims

Function getAuthClaims

packages/codex-native-api/src/auth_state.ts:253–256  ·  view source on GitHub ↗
(payload: Record<string, any> | null)

Source from the content-addressed store, hash-verified

251}
252
253function getAuthClaims(payload: Record<string, any> | null): Record<string, any> | null {
254 const raw = payload?.['https://api.openai.com/auth'];
255 return isRecord(raw) ? raw : null;
256}
257
258function resolveRequestedAuthPath(
259 authPathOrOptions: string | { authPath?: string; env?: NodeJS.ProcessEnv },

Callers 1

Calls 1

isRecordFunction · 0.70

Tested by

no test coverage detected