Log in
Interface

AdminTokenServiceInterface

Magento\TwoFactorAuth\Api\AdminTokenServiceInterface

What it does

This interface extends Magento's standard admin token service to support two-factor authentication functionality.

Developers use this interface when they need to generate or validate admin authentication tokens in a system where 2FA is enabled, ensuring that token operations account for the additional security layer required by two-factor authentication.