Interface

GenerateAuthenticationSecretInterface

Magento\LoginAsCustomerApi\Api\GenerateAuthenticationSecretInterface

What it does

This interface defines the contract for generating authentication secrets used in the Login as Customer feature.

Developers would implement this interface to create secure tokens that allow admin users to log in as customers for support purposes.

The execute method takes authentication data and returns a unique secret string used to authenticate the login session.

Public Methods

  • execute()