MCPcopy Create free account
hub / github.com/arctic-cli/interface / ensureValidToken

Function ensureValidToken

packages/arctic/src/auth/codex.ts:430–436  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

428 }
429
430 export async function ensureValidToken(): Promise<string> {
431 const auth = await Auth.get("codex")
432 if (!auth || auth.type !== "codex") {
433 throw new Error("Codex token not available")
434 }
435 return ensureValidTokenFor("codex", auth)
436 }
437}

Callers 1

Calls 2

ensureValidTokenForFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected