Model
U2fKey
Magento\TwoFactorAuth\Model\Provider\Engine\U2fKey
What it does
This class implements the U2F (Universal 2nd Factor) security key authentication engine for Magento 2's two-factor authentication system.
Developers use this class to handle registration and verification of hardware security keys (like YubiKey) for admin users, managing the WebAuthn protocol for device registration, authentication challenges, and credential validation.
Public Methods
- verify()
- getRegisterData()
- getAuthenticateData()
- registerDevice()
- isEnabled()