20 lines
528 B
C#
20 lines
528 B
C#
// Licensed to the .NET Foundation under one or more agreements.
|
|
// The .NET Foundation licenses this file to you under the MIT license.
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Authentication;
|
|
|
|
public class VerifyAuthenticatorCodeViewModel
|
|
{
|
|
[Required]
|
|
public string Code { get; set; }
|
|
|
|
public string ReturnUrl { get; set; }
|
|
|
|
[Display(Name = "Remember this browser?")]
|
|
public bool RememberBrowser { get; set; }
|
|
|
|
[Display(Name = "Remember me?")]
|
|
public bool RememberMe { get; set; }
|
|
} |