Model

AuthenticateCustomerBySecret

Magento\LoginAsCustomer\Model\AuthenticateCustomerBySecret

What it does

This class handles the authentication process for the 'Login as Customer' feature, allowing an admin to log into the storefront as a specific customer using a secret token.

Developers would use this when implementing or customizing the admin functionality that enables support staff to troubleshoot customer issues by experiencing their account firsthand.

Public Methods

  • execute()