Interface

SetLoggedAsCustomerAdminIdInterface

Magento\LoginAsCustomerApi\Api\SetLoggedAsCustomerAdminIdInterface

What it does

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

Developers implementing the 'Login as Customer' feature use this to track which admin is currently impersonating a customer session, which is crucial for audit trails and security compliance.

Public Methods

  • execute()