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:
1 parent
3683bd28dc
commit
75c2095f30
6 files changed
+13
-33
No files matched your search
@@ -24,7 +24,7 @@ type Config struct {
|
||||
BaseURL string // defaults to "https://api.elydora.com"
|
||||
TTLMs int // defaults to 30000
|
||||
MaxRetries int // defaults to 3
|
||||
Token string // JWT token for authenticated requests
|
||||
Token string // API token for authenticated requests
|
||||
}
|
||||
|
||||
// Client is the Elydora SDK client.
|
||||
@@ -172,7 +172,7 @@ func (c *Client) doPost(path string, body interface{}, result interface{}) error
|
||||
return c.doRequest(http.MethodPost, path, body, result)
|
||||
}
|
||||
|
||||
// SetToken sets the JWT token used for authenticated API requests.
|
||||
// SetToken sets the API token used for authenticated API requests.
|
||||
func (c *Client) SetToken(token string) {
|
||||
c.token = token
|
||||
}
|
||||
Reference in new issue
Block a user