mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-04-05 17:38:01 +08:00
19 lines
417 B
C#
19 lines
417 B
C#
namespace OpenAuth.App.SSO
|
|
{
|
|
|
|
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();
|
|
}
|
|
}
|
|
} |