Log in
Interface

UserConfigTokenManagerInterface

Magento\TwoFactorAuth\Api\UserConfigTokenManagerInterface

What it does

This interface manages temporary authorization tokens that allow users to configure their two-factor authentication (2FA) settings.

Developers use this when implementing flows where users need to set up or modify their 2FA providers, issuing tokens to authorize configuration changes and validating those tokens before allowing modifications.

Public Methods

  • issueFor()
  • isValidFor()