Interface

AuthyRegistrationPromptResponseInterface

Magento\TwoFactorAuth\Api\Data\AuthyRegistrationPromptResponseInterface

What it does

This interface defines the structure for responses when prompting users to register a device for Authy two-factor authentication.

Developers use this when implementing device registration flows to communicate registration status messages and expiration timeframes to users attempting to set up 2FA via Authy.

Public Methods

  • getMessage()
  • setMessage()
  • getExpirationSeconds()
  • setExpirationSeconds()
  • getExtensionAttributes()
  • setExtensionAttributes()