VerifyToken
Verify JWT token.
type VerifyToken {
user: User
isValid: Boolean!
payload: GenericScalar
accountErrors: [AccountError!]! @deprecated
errors: [AccountError!]!
}
Fields
VerifyToken.user
● User
object users
User assigned to token.
VerifyToken.isValid
● Boolean!
non-null scalar miscellaneous
Determine if token is valid or not.
VerifyToken.payload
● GenericScalar
scalar miscellaneous
JWT payload.
VerifyToken.accountErrors
● [AccountError!]!
deprecated non-null object users
DEPRECATEDThis field will be removed in Saleor 4.0. Use
errors
field instead.
VerifyToken.errors
● [AccountError!]!
non-null object users
Returned By
tokenVerify
mutation