U2fKeyConfigureInterface
Magento\TwoFactorAuth\Api\U2fKeyConfigureInterface
What it does
This interface defines the contract for configuring U2F (Universal 2nd Factor) hardware security keys as a two-factor authentication method in Magento 2.
Developers use this to implement the registration flow where users set up their U2F keys, first retrieving WebAuthn registration data, then activating the provider with the user's public key credential.
It's primarily used during the 2FA setup process when administrators configure hardware security keys.
Public Methods
- getRegistrationData()
- activate()