Model

AuthenticationData

Magento\LoginAsCustomer\Model\AuthenticationData

What it does

This class is a data transfer object that stores authentication information when an admin user logs in as a customer.

It holds the customer ID being impersonated and the admin ID performing the action, facilitating the 'Login as Customer' feature for customer support scenarios.

Public Methods

  • getCustomerId()
  • getAdminId()
  • getExtensionAttributes()