22 lines
675 B
C#
22 lines
675 B
C#
using Nop.Web.Framework.Models;
|
|
using Nop.Web.Framework.Mvc.ModelBinding;
|
|
|
|
namespace Nop.Plugin.MultiFactorAuth.GoogleAuthenticator.Models;
|
|
|
|
/// <summary>
|
|
/// Represents authentication model
|
|
/// </summary>
|
|
public record AuthModel : BaseNopModel
|
|
{
|
|
public string SecretKey { get; set; }
|
|
|
|
[NopResourceDisplayName("Plugins.MultiFactorAuth.GoogleAuthenticator.Customer.VerificationToken")]
|
|
public string Code { get; set; }
|
|
|
|
public string QrCodeImageUrl { get; set; }
|
|
|
|
[NopResourceDisplayName("Plugins.MultiFactorAuth.GoogleAuthenticator.Customer.ManualSetupCode")]
|
|
public string ManualEntryQrCode { get; set; }
|
|
|
|
public string Account { get; set; }
|
|
} |