AccessTokenWithValue
An access token with the raw token value. Only returned on creation.
type AccessTokenWithValue {
id: ID!
name: String!
token: String!
prefix: String!
scopes: [String!]!
expiresAt: DateTime!
createdAt: DateTime!
}
Fields
AccessTokenWithValue.id ● ID! non-null scalar {#id}
Access token identifier
AccessTokenWithValue.name ● String! non-null scalar {#name}
Label for this token
AccessTokenWithValue.token ● String! non-null scalar {#token}
The full token value. Store securely — this is the only time it is shown.
AccessTokenWithValue.prefix ● String! non-null scalar {#prefix}
Short prefix for identifying this token in lists (e.g., md_a1b2c3d4)
AccessTokenWithValue.scopes ● [String!]! non-null scalar {#scopes}
Permission scopes granted to this token
AccessTokenWithValue.expiresAt ● DateTime! non-null scalar {#expires-at}
When this token expires (UTC)
AccessTokenWithValue.createdAt ● DateTime! non-null scalar {#created-at}
When this token was created (UTC)
Member Of
AccessTokenWithValuePayload object