Structs§
- Auth
DotJson - Expected structure for $CODEX_HOME/auth.json.
- Codex
Auth - Login
Server - Server
Options - Shutdown
Handle - Token
Data
Enums§
Constants§
Functions§
- get_
auth_ file - login_
with_ api_ key - logout
- Delete the auth.json file inside
codex_home
if it exists. ReturnsOk(true)
if a file was removed,Ok(false)
if no auth file was present. - run_
login_ server - try_
read_ auth_ json - Attempt to read and refresh the
auth.json
file in the givenCODEX_HOME
directory. Returns the full AuthDotJson structure after refreshing if necessary.