Interface
GetLoggedAsCustomerCustomerIdInterface
Magento\LoginAsCustomerApi\Api\GetLoggedAsCustomerCustomerIdInterface
What it does
This interface defines a contract for retrieving the customer ID when an admin user is logged in as a customer.
Developers use this when they need to determine if the current session is an admin impersonating a customer and get that customer's ID, which is useful for audit trails, conditional logic, or displaying warnings during admin-as-customer sessions.
Public Methods
- execute()