Model
AdminTokenResponse
Magento\TwoFactorAuth\Model\Data\AdminTokenResponse
What it does
This class represents the response data when an admin user attempts to authenticate with two-factor authentication in Magento 2.
Developers use this model to transfer information about the user's 2FA status, including the user ID, any messages to display, and the list of active authentication providers available to the user during the login process.
Public Methods
- getUserId()
- setUserId()
- getMessage()
- setMessage()
- getActiveProviders()
- setActiveProviders()
- getExtensionAttributes()
- setExtensionAttributes()