Log in
Model

Authenticate

Magento\Customer\Model\AccountManagement\Authenticate

What it does

This class handles customer authentication in Magento 2 by validating email and password credentials.

Developers use this class when implementing custom login functionality or when they need to authenticate a customer programmatically.

It performs security checks including account locking, email confirmation requirements, and dispatches authentication events for other modules to respond to successful logins.

Public Methods

  • execute()