Interface
GoogleAuthenticateInterface
Magento\TwoFactorAuth\Api\GoogleAuthenticateInterface
What it does
This interface defines the contract for Google Authenticator-based two-factor authentication in Magento 2 admin panel.
Developers use this to generate admin access tokens by validating admin credentials along with a time-based one-time password (OTP) from Google Authenticator.
It's primarily used in REST API authentication flows where 2FA is enabled for admin users.
Public Methods
- createAdminAccessToken()