RefreshToken Object
Refresh JWT token. Mutation tries to take refreshToken from the input. If it fails it will try to take refreshToken from the http-only cookie refreshToken. csrfToken is required when refreshToken is provided as a cookie.
type RefreshToken {
token: String
user: User
accountErrors: [AccountError!]! @deprecated
errors: [AccountError!]!
}
Fields
token ● String
JWT token, required to authenticate.
user ● User
A user instance.
errors ● [AccountError!]!
Show deprecated
Returned By
tokenRefresh mutation