Log in
Interface

U2fKeyAuthenticateInterface

Magento\TwoFactorAuth\Api\U2fKeyAuthenticateInterface

What it does

This interface defines the contract for authenticating admin users via U2F (Universal 2nd Factor) security keys in Magento's two-factor authentication system.

Developers use this to implement or extend U2F authentication, first retrieving authentication challenge data with getAuthenticationData(), then validating the user's security key response and generating an access token with createAdminAccessToken().

Public Methods

  • getAuthenticationData()
  • createAdminAccessToken()