Initial Commit ...
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using xIdentityModels.Navigations;
|
||||
|
||||
namespace xIdentityModels.Models {
|
||||
/// <summary>
|
||||
/// Represent Requirements for Authenticationg a User
|
||||
/// </summary>
|
||||
public class XLoginRequest {
|
||||
/// <summary>
|
||||
/// how select an specific User
|
||||
/// </summary>
|
||||
/// <value>an string value which represent how system select user such as: UserName, Email Address or MobileNumber</value>
|
||||
[Required]
|
||||
public string UserSelectBy { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// user's password
|
||||
/// </summary>
|
||||
/// <value>an string which represent user's pasword</value>
|
||||
[Required]
|
||||
public string Password { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// user's device
|
||||
/// </summary>
|
||||
/// <value>an instance of <see>XDevice</see> which represent user's device</value>
|
||||
public XDevice Device { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// user's language
|
||||
/// </summary>
|
||||
/// <value>an string which represent user's language and locale, such as: en-US</value>
|
||||
public string Language { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user