Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

ConfigurationModel.cs

using Nop.Web.Framework.Models;
using Nop.Web.Framework.Mvc.ModelBinding;

namespace Nop.Plugin.MultiFactorAuth.GoogleAuthenticator.Models;

/// 
/// Represents plugin configuration model
/// 
public record ConfigurationModel : BaseNopModel
{
    #region Ctor

    public ConfigurationModel()
    {
        GoogleAuthenticatorSearchModel = new GoogleAuthenticatorSearchModel();
    }

    #endregion

    #region Properties

    [NopResourceDisplayName("Plugins.MultiFactorAuth.GoogleAuthenticator.QRPixelsPerModule")]
    public int QRPixelsPerModule { get; set; }

    [NopResourceDisplayName("Plugins.MultiFactorAuth.GoogleAuthenticator.BusinessPrefix")]
    public string BusinessPrefix { get; set; }

    public GoogleAuthenticatorSearchModel GoogleAuthenticatorSearchModel { get; set; }

    #endregion
}