Skip to main content

CreateUserTokenResponse

Response for createUserToken mutation.

type CreateUserTokenResponse {
tokenData: UserToken
token: String
success: Boolean!
}

Fields

CreateUserTokenResponse.tokenData ● UserToken object

The created UserToken object.

CreateUserTokenResponse.token ● String scalar

The token itself: a string to be handed to the user and that won't be stored.

CreateUserTokenResponse.success ● Boolean! non-null scalar

Was the operation a success.

Returned by

createUserToken mutation