Document Access Token expiry feature - #144
Merged
Merged
Conversation
Access tokens now support an optional expiry set at creation (expires_in as seconds or a duration string). Replace the incorrect 'no expiration' / 'long-lived' wording across the auth docs and document the expires_in parameter and exp claim. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PxC1XqBCkJPTexQHykNozq
…etails The access-token-api main branch landed follow-up changes today: API tokens can now expire up to 365 days out (other ephemeral token types stay capped at 7 days), expiring tokens are persisted/listed/revocable like any other token, and the create response returns an expires_at timestamp. Update the auth docs to reflect the exact bounds and behavior instead of the earlier generic 'configurable expiry' wording. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PxC1XqBCkJPTexQHykNozq
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Updates authentication documentation to reflect the new Access Token expiry feature, allowing tokens to be created with optional configurable expiration times (30 seconds to 365 days).
Key Changes
expires_inparameter with examples showing both duration strings ('30d') and seconds format, plus response examples including theexpires_attimestampexpires_inusageNotable Details
expires_inremain valid until revoked (backward compatible)https://claude.ai/code/session_01PxC1XqBCkJPTexQHykNozq