Interface

AuthenticationDataInterface

Magento\LoginAsCustomerApi\Api\Data\AuthenticationDataInterface

What it does

This interface defines the data contract for authentication information used when an admin user logs in as a customer.

It provides methods to retrieve the customer ID and admin ID involved in the login-as-customer session, which is essential for tracking and auditing purposes when administrators access the storefront as customers.

Public Methods

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