Log in
Interface

AuthyDeviceInterface

Magento\TwoFactorAuth\Api\Data\AuthyDeviceInterface

What it does

This interface defines the data structure for Authy two-factor authentication devices in Magento 2.

Developers use it to manage phone-based 2FA device information including country code, phone number, and authentication method (SMS or phone call).

It's typically used when configuring or validating Authy 2FA settings for admin users.

Public Methods

  • getCountry()
  • setCountry()
  • getPhoneNumber()
  • setPhoneNumber()
  • getMethod()
  • setMethod()
  • getExtensionAttributes()
  • setExtensionAttributes()