Model
SignedTokenManager
Magento\TwoFactorAuth\Model\UserConfig\SignedTokenManager
What it does
This class manages secure tokens for two-factor authentication configuration changes.
Developers use it to generate signed tokens when users need to modify their 2FA settings and validate those tokens to ensure they haven't been tampered with and are still within the 1-hour expiration window.
Public Methods
- issueFor()
- isValidFor()