Skip to main content
Version: 3.x

CreateToken

Create JWT token.

type CreateToken {
token: String
refreshToken: String
csrfToken: String
user: User
accountErrors: [AccountError!]!
errors: [AccountError!]!
}

Fields

token (String)

JWT token, required to authenticate.

refreshToken (String)

JWT refresh token, required to re-generate access token.

csrfToken (String)

CSRF token required to re-generate access token.

user (User)

A user instance.

accountErrors ([AccountError!]!)

errors ([AccountError!]!)