AuthorizationServerDemos/CSharp/AuthorizationServer/Quickstart/Account/LoginInputModel.cs
2021-01-18 18:32:22 +03:00

20 lines
620 B
C#

// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using System.ComponentModel.DataAnnotations;
namespace IdentityServerHost.Quickstart.UI
{
public class LoginInputModel
{
[Required]
public string Username { get; set; }
public string Password { get; set; }
public string Totp { get; set; }
[Required]
public bool UseTotp { get; set; }
public bool RememberLogin { get; set; }
public string ReturnUrl { get; set; }
}
}