Log in
Interface

GoogleConfigureInterface

Magento\TwoFactorAuth\Api\Data\GoogleConfigureInterface

What it does

This interface defines the contract for Google Authenticator configuration data in Magento's two-factor authentication system.

Developers use this when implementing or customizing Google-based 2FA setup, as it provides methods to handle the QR code image (as base64) and secret code needed for authenticating with Google Authenticator apps.

Public Methods

  • getQrCodeBase64()
  • setQrCodeBase64()
  • getSecretCode()
  • setSecretCode()
  • getExtensionAttributes()
  • setExtensionAttributes()