Log in
Interface

TfatActionsInterface

Magento\TwoFactorAuth\Api\TfatActionsInterface

What it does

This interface defines actions that can be performed using a pre-authentication two-factor authentication token (tfat).

Developers use this to retrieve available 2FA providers for a user and determine which providers still need to be configured, typically during the authentication flow before full 2FA is established.

Public Methods

  • getUserProviders()
  • getProvidersToActivate()