AccessTokenRecord
org.sagebionetworks.repo.model.auth.AccessTokenRecord
Metadata related to an issued personal access token. After the token has been generated, it cannot be retrieved.
Field | Type | Description |
---|---|---|
id | STRING | The unique ID of the access token |
userId | STRING | The ID of the user that the token belongs to. |
scopes | ARRAY<OAuthScope> | The scopes that have been granted to this token |
userInfoClaims | MAP<STRING,OIDCClaimsRequestDetails> | The OIDC claims that can be accessed using this token. |
name | STRING | A unique, typically human-readable name for the token |
createdOn | STRING | The date this personal access token was initially issued. |
lastUsed | STRING | The date this personal access token was last used. |
state | AccessTokenState | The enumeration of possible personal access token states. |