AdminTokenResponseInterface
Magento\TwoFactorAuth\Api\Data\AdminTokenResponseInterface
What it does
This interface defines the structure for admin token responses in Magento's two-factor authentication system.
Developers use this when handling admin login responses that require 2FA verification, accessing user ID, status messages, and available authentication providers.
It's primarily used in API endpoints and services that manage the admin authentication flow with two-factor security.
Public Methods
- getUserId()
- setUserId()
- getMessage()
- setMessage()
- getActiveProviders()
- setActiveProviders()
- getExtensionAttributes()
- setExtensionAttributes()