Skip to main content

tokenCreate Mutation

Create JWT token.

tokenCreate(
audience: String
email: String!
password: String!
): CreateToken

Arguments

tokenCreate.audience ● String scalar miscellaneous

The audience that will be included to JWT tokens with prefix custom:.

tokenCreate.email ● String! non-null scalar miscellaneous

Email of a user.

tokenCreate.password ● String! non-null scalar miscellaneous

Password of a user.

Type

CreateToken object authentication

Create JWT token.