Log in
Interface

DuoAuthenticateInterface

Magento\TwoFactorAuth\Api\DuoAuthenticateInterface

What it does

This interface defines the contract for authenticating admin users via Duo Security two-factor authentication in Magento 2.

Developers use this to implement or extend Duo-based authentication flows, either by retrieving Duo configuration data or by generating admin access tokens after successful two-factor verification with credentials and passcode.

Public Methods

  • getAuthenticateData()
  • createAdminAccessTokenWithCredentials()
  • createAdminAccessTokenWithCredentialsAndPasscode()