Interface

SetLoggedAsCustomerCustomerIdInterface

Magento\LoginAsCustomerApi\Api\SetLoggedAsCustomerCustomerIdInterface

What it does

This interface defines a contract for setting the customer ID when an admin user logs in as a customer.

Developers use this to track which customer account an administrator is currently impersonating, enabling the 'Login as Customer' feature that allows support staff to view the store from a specific customer's perspective.

Public Methods

  • execute()