Log in
Model

ChangePassword

Magento\CustomerGraphQl\Model\Resolver\ChangePassword

What it does

This GraphQL resolver handles customer password change requests through the GraphQL API.

Developers use this class when implementing the changeCustomerPassword mutation, which validates the current password, updates it to the new password, sends a confirmation email, and returns the updated customer data.

It ensures the customer is authenticated and both current and new passwords are provided before processing the change.

Public Methods

  • resolve()