Interface

SaveAuthenticationDataInterface

Magento\LoginAsCustomerApi\Api\SaveAuthenticationDataInterface

What it does

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

It accepts authentication data and returns a secret key that will be used to authenticate the admin's session as the customer.

Developers implement this interface to handle the secure storage and generation of authentication tokens for the 'Login as Customer' feature.

Public Methods

  • execute()