Log in
Interface

DuoConfigureInterface

Magento\TwoFactorAuth\Api\DuoConfigureInterface

What it does

This interface defines the contract for configuring and activating Duo Security two-factor authentication in Magento 2.

Developers use this to retrieve Duo configuration data needed for user enrollment and to activate Duo as a 2FA provider after successful authentication.

It provides methods to integrate Duo's security verification into the admin authentication flow.

Public Methods

  • getConfigurationData()
  • activate()
  • getDuoConfigurationData()
  • duoActivate()