Interface

ConfigInterface

Magento\LoginAsCustomerApi\Api\ConfigInterface

What it does

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

Developers would use this to check if the feature is enabled, whether manual store selection is allowed, and retrieve authentication timeout settings when implementing or customizing the Login as Customer functionality.

Public Methods

  • isEnabled()
  • isStoreManualChoiceEnabled()
  • getAuthenticationDataExpirationTime()