Update auth references from JWT to session tokens

- Remove PreviousTokenGraceUntil from RotateApiTokenResponse
- Update comments and CLI flag descriptions
- Remove grace period test from integration test
- Update README

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:37 -04:00
1 parent 3683bd28dc
commit 75c2095f30
6 files changed
+13 -33

No files matched your search

+1 -1
View File
@@ -49,7 +49,7 @@ func Register(baseURL, email, password string, opts ...RegisterOption) (*AuthReg
return &result, nil
}
// Login authenticates a user and returns a JWT token.
// Login authenticates a user and returns a session token.
func Login(baseURL, email, password string) (*AuthLoginResponse, error) {
if baseURL == "" {
baseURL = defaultBaseURL