Log in
Model

UserConfig

Magento\TwoFactorAuth\Model\UserConfig

What it does

This model represents user-specific two-factor authentication configuration settings in Magento 2.

Developers use this class to load, save, and manage individual user's 2FA preferences and settings, such as which authentication methods they have configured.

The getDataModel() method converts the model data into a data transfer object (DTO) for API operations.

Public Methods

  • getDataModel()