Log in
Interface

GoogleConfigureInterface

Magento\TwoFactorAuth\Api\GoogleConfigureInterface

What it does

This interface defines the contract for configuring Google Authenticator as a two-factor authentication provider in Magento 2.

Developers implement this interface to retrieve configuration data (like QR codes and secret keys) needed to set up Google Authenticator, and to activate the provider by validating one-time passwords during the setup process.

Public Methods

  • getConfigurationData()
  • activate()