HtmlAreaTokenVerifier
Magento\TwoFactorAuth\Model\UserConfig\HtmlAreaTokenVerifier
What it does
This class verifies and manages configuration tokens that allow admin users to set up two-factor authentication (2FA) in Magento's admin area.
It checks for tokens from both cookies and URL parameters, validates them against the user's session, and ensures users have proper authorization to configure their 2FA settings.
Developers use this when implementing or customizing 2FA configuration flows in the admin panel.
Public Methods
- isConfigTokenProvided()
- readConfigToken()