MCPcopy Create free account
hub / github.com/freecodexyz/free-code / clearCodexOAuthTokens

Function clearCodexOAuthTokens

src/utils/auth.ts:1362–1367  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1360 * Removes Codex OAuth tokens from GlobalConfig (e.g., on logout).
1361 */
1362export function clearCodexOAuthTokens(): void {
1363 saveGlobalConfig((cfg) => {
1364 const { codexOAuth: _removed, ...rest } = cfg
1365 return rest as typeof cfg
1366 })
1367}
1368
1369
1370let lastCredentialsMtimeMs = 0

Callers

nothing calls this directly

Calls 1

saveGlobalConfigFunction · 0.85

Tested by

no test coverage detected