TokenCreate
Result of token create mutation.
type TokenCreate {
token: String
refreshToken: String
csrfToken: String
user: User
accountErrors: [AccountError!]!
}
Fields
TokenCreate.token ● String scalar
JWT token for authentication.
TokenCreate.refreshToken ● String scalar
JWT refresh token.
TokenCreate.csrfToken ● String scalar
CSRF token for cookie-based auth.
TokenCreate.user ● User object
The authenticated user.
TokenCreate.accountErrors ● [AccountError!]! non-null object
List of errors that occurred executing the mutation.
Returned By
tokenCreate mutation