Log in
Model

CheckCustomerPassword

Magento\CustomerGraphQl\Model\Customer\CheckCustomerPassword

What it does

This class validates a customer's password by authenticating it against their customer ID in GraphQL operations.

Developers use this when they need to verify a customer's password before allowing sensitive account operations like updating email, password changes, or deleting accounts through GraphQL mutations.

It converts standard authentication exceptions into GraphQL-specific exceptions for proper API error handling.

Public Methods

  • execute()