mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-07-18 04:33:27 +08:00
26 lines
610 B
C#
26 lines
610 B
C#
![]() |
using System.ComponentModel;
|
|||
|
using System.ComponentModel.DataAnnotations;
|
|||
|
|
|||
|
namespace OpenAuth.WebApi.Areas.SSO.Models
|
|||
|
{
|
|||
|
|
|||
|
public class PassportLoginRequest
|
|||
|
{
|
|||
|
[DisplayName("邮箱地址")]
|
|||
|
public string UserName { get; set; }
|
|||
|
|
|||
|
[Required]
|
|||
|
[DisplayName("登录密码")]
|
|||
|
public string Password { get; set; }
|
|||
|
|
|||
|
[Display(Name = "应用标识")]
|
|||
|
public string AppKey { get; set; }
|
|||
|
|
|||
|
public void Trim()
|
|||
|
{
|
|||
|
UserName = UserName.Trim();
|
|||
|
Password = Password.Trim();
|
|||
|
AppKey = AppKey.Trim();
|
|||
|
}
|
|||
|
}
|
|||
|
}
|