You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
using System.ComponentModel.DataAnnotations;
namespace CustomerOnlineRemit.Common.Model.Account { public class AccountModel { }
public class LoginModel { [Required(ErrorMessage = "Username is required")] public string? UserName { get; set; }
[Required(ErrorMessage = "Password is required")] public string? Password { get; set; }
public bool RememberMe { get; set; } = false;
public string? IpAddress { get; set; }
public string? SessionId { get; set; } public string? LoginInfo { get; set; } }
public class CurrentUser { public bool IsAuthenticated { get; set; } public string? UserName { get; set; } public Dictionary<string, string>? Claims { get; set; } } }
|