Update auth references from JWT to session tokens

- Remove previous_token_grace_until from RotateApiTokenResponse
- Update setToken JSDoc and CLI help text
- Update README auth documentation

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
ZacharyZhang-NYandClaude Opus 4.6 committed 2026-03-24 23:13:33 -04:00
1 parent 1e2f764414
commit 1c2bbad844
4 files changed
+4 -5

No files matched your search

+2 -2
View File
@@ -93,10 +93,10 @@ const client = new ElydoraClient({
### Authentication
```typescript
// Register a new user and organization
// Register a new user and organization (returns session token)
const reg = await ElydoraClient.register(baseUrl, email, password, displayName?, orgName?);
// Login and receive a JWT
// Login and receive a session token
const auth = await ElydoraClient.login(baseUrl, email, password);
// Set token on client