Skip to main content

SetPassword Object

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

type SetPassword {
token: String
refreshToken: String
csrfToken: String
user: User
accountErrors: [AccountError!]! @deprecated
errors: [AccountError!]!
}

Fields

token ● String

JWT token, required to authenticate.

refreshToken ● String

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

csrfToken ● String

CSRF token required to re-generate access token.

user ● User

A user instance.

errors ● [AccountError!]!

Show deprecated

Returned By

setPassword mutation