Log in
Interface

GoogleAuthenticateInterface

Magento\TwoFactorAuth\Api\Data\GoogleAuthenticateInterface

What it does

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

Developers use this when implementing or extending Google Authenticator functionality to validate one-time passwords (OTP) during the authentication process.

It provides methods to get and set the OTP value along with extension attributes for customization.

Public Methods

  • getOtp()
  • setOtp()
  • getExtensionAttributes()
  • setExtensionAttributes()