Interface

IsLoginAsCustomerSessionActiveInterface

Magento\LoginAsCustomerApi\Api\IsLoginAsCustomerSessionActiveInterface

What it does

This interface defines a contract for checking whether a Login as Customer session is currently active for a specific customer and admin user combination.

Developers would use this to verify if an administrator is still logged in as a particular customer before allowing certain actions or displaying specific functionality related to the Login as Customer feature.

Public Methods

  • execute()