TokenRefresh
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 TokenRefresh {
token: String
user: User
accountErrors: [AccountError!]!
}
Fields
TokenRefresh.token ● String scalar
JWT token, required to authenticate.
TokenRefresh.user ● User object
A user instance.
TokenRefresh.accountErrors ● [AccountError!]! non-null object
Returned By
tokenRefresh mutation