Skip to main content
Version: 3.x

VerifyToken

Verify JWT token.

type VerifyToken {
user: User
isValid: Boolean!
payload: GenericScalar
accountErrors: [AccountError!]! @deprecated
errors: [AccountError!]!
}

Fields

VerifyToken.user ● User object

User assigned to token.

VerifyToken.isValid ● Boolean! non-null scalar

Determine if token is valid or not.

VerifyToken.payload ● GenericScalar scalar

JWT payload.

VerifyToken.accountErrors ● [AccountError!]! deprecated non-null object

DEPRECATED

This field will be removed in Saleor 4.0. Use errors field instead.

VerifyToken.errors ● [AccountError!]! non-null object

Returned by

tokenVerify mutation


Was this page helpful?