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(reason: "Use `errors` field instead.")
errors: [AccountError!]!
}
Fields
token
token · String
JWT token, required to authenticate.
user
user · User
A user instance.
accountErrors
accountErrors · [AccountError!]!
errors
errors · [AccountError!]!
Used by
Schema: Saleor 3.23.43. Download SDL.