yavsc/Yavsc/src/ViewModels/Account/LoginViewModel.cs

23 lines
628 B
C#
Raw Normal View History

2016-05-17 18:22:18 +02:00
2016-05-29 03:11:38 +02:00
using System.Collections.Generic;
2016-05-17 18:22:18 +02:00
using System.ComponentModel.DataAnnotations;
2016-05-29 03:11:38 +02:00
using Microsoft.AspNet.Http.Authentication;
2016-05-17 18:22:18 +02:00
namespace Yavsc.ViewModels.Account
{
public class LoginViewModel
{
[Required]
public string UserName { get; set; }
[Required]
[DataType(DataType.Password)]
public string Password { get; set; }
[Display(Name = "Remember me?")]
public bool RememberMe { get; set; }
2016-05-29 03:11:38 +02:00
public string ReturnUrl { get; set; }
public IEnumerable<AuthenticationDescription> ExternalProviders { get; set; }
2016-05-17 18:22:18 +02:00
}
}