Skip to main content

AccessToken

Represents information about an access token.

type AccessToken {
id: ID!
title: String
permissions: [AccessTokenScope]
token: String
createdAt: DateTimeTz!
updatedAt: DateTimeTz!
deletedAt: DateTimeTz
scopes(first: Int! = 10, after: String): RoleConnection!
}

Fields

AccessToken.id ● ID! non-null scalar

Access token's unique identifier.

AccessToken.title ● String scalar

The access token's title.

AccessToken.permissions ● [AccessTokenScope] list enum

The access token's permissions.

AccessToken.token ● String scalar

The access token. This will be filled only during createAccessToken mutation.

AccessToken.createdAt ● DateTimeTz! non-null scalar

The date and time when the user was created.

AccessToken.updatedAt ● DateTimeTz! non-null scalar

The date and time when the user was last updated.

AccessToken.deletedAt ● DateTimeTz scalar

The date and time when the user was deleted.

AccessToken.scopes ● RoleConnection! non-null object

The access token's scopes.

AccessToken.scopes.first ● Int! non-null scalar

Limits number of fetched items. Maximum allowed value: 50.

AccessToken.scopes.after ● String scalar

A cursor after which elements are returned.

Returned By

accessToken query ● createAccessToken mutation ● revokeAccessToken mutation ● updateAccessToken mutation

Member Of

AccessTokenEdge object