OpenAuth.Net/OpenAuth.App/SSO/PassportLoginRequest.cs

19 lines
417 B
C#
Raw Normal View History

namespace OpenAuth.App.SSO
2016-07-08 11:28:38 +08:00
{
public class PassportLoginRequest
{
public string UserName { get; set; }
public string Password { get; set; }
public string AppKey { get; set; }
public void Trim()
{
UserName = UserName.Trim();
Password = Password.Trim();
if(!string.IsNullOrEmpty(AppKey)) AppKey = AppKey.Trim();
2016-07-08 11:28:38 +08:00
}
}
}