tokenCreate Mutation
Create JWT token.
tokenCreate(audience: String, email: String!, password: String!): CreateToken
Returns
Show return type
type CreateToken {
token: String
refreshToken: String
csrfToken: String
user: User
accountErrors: [AccountError!]! @deprecated(reason: "Use `errors` field instead.")
errors: [AccountError!]!
}Arguments
audience
audience · String
The audience that will be included to JWT tokens with prefix custom:.
email · String!
Email of a user.
password
password · String!
Password of a user.
Schema: Saleor 3.23.43. Download SDL.