Log in
Interface

U2fWebAuthnRequestInterface

Magento\TwoFactorAuth\Api\Data\U2fWebAuthnRequestInterface

What it does

This interface defines the contract for WebAuthn (U2F) authentication request data in Magento's two-factor authentication system.

Developers use this when implementing or extending WebAuthn-based security features, as it holds the credential request options JSON needed to initiate the WebAuthn registration or authentication ceremony between the browser and authenticator device.

Public Methods

  • getCredentialRequestOptionsJson()
  • setCredentialRequestOptionsJson()
  • getExtensionAttributes()
  • setExtensionAttributes()