Skip to content

feat: add token status and prepare 3.1.0 - #7

Merged
StefaniOSApps merged 1 commit into
mainfrom
feat/token-status
Oct 8, 2026
Merged

StefaniOSApps merged 1 commit into
mainfrom
feat/token-status

Conversation

@StefaniOSApps

@StefaniOSApps StefaniOSApps commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Add client.token.status() for the new GET /v1/token/status endpoint and prepare Python client 3.1.0. It returns the token's display name, scopes and expiry, needs no scope and changes no data.

Known scopes are TokenScope members. A scope added by a newer backend stays a plain string instead of failing the response. The shared contract fixtures gain the token.status operation.

Expose GET /v1/token/status as client.token.status(). It returns the token's
display name, granted scopes and expiry, needs no scope and changes no data.
Known scopes are TokenScope members; a scope added by a newer API stays a
plain string instead of failing the response.

Add shared contract cases for the new operation, including an unknown scope
and the wrong-status case, and compare expiresAt as an instant.
@StefaniOSApps
StefaniOSApps merged commit 365416b into main Oct 8, 2026
3 checks passed
@StefaniOSApps
StefaniOSApps deleted the feat/token-status branch October 8, 2026 23:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant