LoginAsCustomerAssistance Module
Api\ConfigInterface
This interface defines configuration methods for the Login as Customer Assistance feature, specifically for retrieving text labels displayed to custom...
Api\IsAssistanceEnabledInterface
This interface defines a contract for checking whether a customer has enabled merchant assistance for the 'Login as Customer' feature. Developers use...
Api\SetAssistanceInterface
This interface defines a contract for enabling or disabling customer assistance for the Login as Customer feature. Developers implement this interface...
Config
This configuration model retrieves store-level settings for the shopping assistance checkbox displayed during the 'Login as Customer' feature. Develop...
IsAssistanceEnabled
This class checks whether a specific customer has enabled the 'Login as Customer' assistance feature, which allows store administrators to log in to t...
Processor\IsLoginAsCustomerAllowedResolver
This class determines whether the 'Login as Customer' feature is allowed for a specific customer by checking if assistance is enabled for them. It ret...
ResourceModel\DeleteLoginAsCustomerAssistanceAllowed
This resource model class deletes database records that track whether a customer has allowed merchants to use the "Login as Customer" feature. Develop...
ResourceModel\GetLoginAsCustomerAssistanceAllowed
This resource model retrieves whether a specific customer has granted permission for administrators to log in as them. Developers use this class to ch...
ResourceModel\SaveLoginAsCustomerAssistanceAllowed
This resource model saves a customer's consent to allow Login as Customer assistance. When a customer grants permission for admin users to log in as t...
SetAssistance
This class manages the 'Login as Customer' assistance permission for individual customers in Magento 2. Developers use this to enable or disable wheth...