Skip to main content

PasswordSet

Sets the user's password from the token sent by email using the PasswordRequestReset mutation.

type PasswordSet {
token: String
refreshToken: String
csrfToken: String
user: User
accountErrors: [AccountError!]!
}

Fields

PasswordSet.token ● String scalar

JWT token, required to authenticate.

PasswordSet.refreshToken ● String scalar

JWT refresh token, required to re-generate access token.

PasswordSet.csrfToken ● String scalar

CSRF token required to re-generate access token.

PasswordSet.user ● User object

A user instance.

PasswordSet.accountErrors ● [AccountError!]! non-null object

Returned By

passwordSet mutation

Was this page helpful?