LoginAsCustomerApi Module

Api\AuthenticateCustomerBySecretInterface

Interface

This interface defines the contract for authenticating a customer using a secret token in Magento's Login as Customer feature. Developers would implem...

Api\ConfigInterface

Interface

This interface defines the contract for accessing configuration settings related to the Login as Customer feature in Magento 2. Developers would use t...

Api\Data\AuthenticationDataInterface

Interface

This interface defines the data contract for authentication information used when an admin user logs in as a customer. It provides methods to retrieve...

Api\Data\IsLoginAsCustomerEnabledForCustomerResultInterface

Interface

This interface defines the contract for validation results when checking if the 'Login as Customer' feature is enabled for a specific customer. Develo...

Api\DeleteAuthenticationDataForUserInterface

Interface

This interface defines a contract for deleting authentication data associated with a specific admin user in the Login as Customer feature. Developers...

Api\GenerateAuthenticationSecretInterface

Interface

This interface defines the contract for generating authentication secrets used in the Login as Customer feature. Developers would implement this inter...

Api\GetAuthenticationDataBySecretInterface

Interface

This interface defines a contract for retrieving authentication data using a secret token in Magento's Login as Customer feature. Developers would use...

Api\GetLoggedAsCustomerAdminIdInterface

Interface

This interface defines a contract for retrieving the administrator ID when an admin user is logged in as a customer. Developers use this to track whic...

Api\GetLoggedAsCustomerCustomerIdInterface

Interface

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...

Api\IsLoginAsCustomerEnabledForCustomerInterface

Interface

This interface defines a contract for checking whether the Login as Customer feature is enabled for a specific customer. Developers use this when they...

Api\IsLoginAsCustomerSessionActiveInterface

Interface

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

Api\SaveAuthenticationDataInterface

Interface

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

Api\SetLoggedAsCustomerAdminIdInterface

Interface

This interface defines a contract for storing the admin user ID when an administrator logs in as a customer. Developers implementing the 'Login as Cus...

Api\SetLoggedAsCustomerCustomerIdInterface

Interface

This interface defines a contract for setting the customer ID when an admin user logs in as a customer. Developers use this to track which customer ac...