MCPcopy
hub / github.com/OpenCoworkAI/open-codesign / token-store.test.ts

File token-store.test.ts

packages/providers/src/codex/token-store.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { randomBytes } from 'node:crypto';
2import { mkdir, readdir, readFile, rm, stat, unlink, writeFile } from 'node:fs/promises';
3import { tmpdir } from 'node:os';
4import { dirname, join } from 'node:path';

Callers

nothing calls this directly

Calls 9

makeStoreFunction · 0.85
baseAuthFunction · 0.85
writeFileFunction · 0.85
rmFunction · 0.85
readMethod · 0.80
writeMethod · 0.80
getValidAccessTokenMethod · 0.80
forceRefreshMethod · 0.80
clearMethod · 0.65

Tested by

no test coverage detected