Authentication GraphQL
Served by AuthModule on commercetools, AuthModule on medusa and AuthModule on sfcc.
Each operation has its own page with its arguments, an example and the engines that serve it. The types link to their fields on the authentication types page.
Operations
| Operation | Description | Served by |
|---|---|---|
cartMergeUndoMutation | Undo the merge signing in made: the current cart becomes the guest cart as it was before signing in, and the saved cart gets its own items back. | commercetoolsmedusasfcc |
createGuestSessionMutation | Create a guest session for anonymous users. | commercetoolsmedusasfcc |
customerLoginMutation | Authenticate a customer with email and password | commercetoolsmedusasfcc |
customerLogoutMutation | Log out the current customer and invalidate the session | commercetoolsmedusasfcc |
customerPasswordResetMutation | Reset customer password using a reset token received via email | commercetoolsmedusasfcc |
customerPasswordResetRequestMutation | Request a password reset email for the given email address | commercetoolsmedusasfcc |
customerPasswordUpdateMutation | Update customer password (requires current password for verification) | commercetoolsmedusasfcc |
refreshTokenMutation | Refresh the authentication token for the current session | commercetoolsmedusasfcc |
Types
| Type | Description |
|---|---|
AuthenticationErrorObject | |
AuthenticationErrorCodeTypeEnum | |
CartMergeObject | What signing in did with the session's guest cart. |
CartMergeUndoErrorUnion | Error union for undoing a cart merge |
CartMergeUndoResponseObject | Response for undoing the cart merge of a sign-in |
CreateGuestSessionResponseObject | Response type for creating a guest session |
CustomerLoginErrorUnion | |
CustomerLoginResponseObject | |
CustomerLogoutErrorUnion | |
CustomerLogoutResponseObject | |
CustomerPasswordResetErrorUnion | |
CustomerPasswordResetRequestErrorUnion | |
CustomerPasswordResetRequestResponseObject | |
CustomerPasswordResetResponseObject | |
CustomerPasswordUpdateErrorUnion | |
CustomerPasswordUpdateResponseObject | |
PasswordChangeErrorObject | |
PasswordChangeErrorCodeTypeEnum | |
PasswordResetErrorObject | |
PasswordResetErrorCodeTypeEnum | |
RefreshTokenErrorUnion | |
RefreshTokenResponseObject |

