You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: codex-rs/app-server/README.md
+95Lines changed: 95 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,3 +13,98 @@ Currently, you can dump a TypeScript version of the schema using `codex generate
13
13
```
14
14
codex generate-ts --out DIR
15
15
```
16
+
17
+
## Auth endpoints (v2)
18
+
19
+
The v2 JSON-RPC auth/account surface exposes request/response methods plus server-initiated notifications (no `id`). Use these to determine auth state, start or cancel logins, logout, and inspect ChatGPT rate limits.
20
+
21
+
### Quick reference
22
+
-`account/read` — fetch current account info; optionally refresh tokens.
23
+
-`account/login/start` — begin login (`apiKey` or `chatgpt`).
24
+
-`account/login/completed` (notify) — emitted when a login attempt finishes (success or error).
25
+
-`account/login/cancel` — cancel a pending ChatGPT login by `loginId`.
0 commit comments