Line | |
---|
1 | using System;
|
---|
2 | using System.Runtime.Serialization;
|
---|
3 |
|
---|
4 | namespace HeuristicLab.Services.Authentication.DataTransfer
|
---|
5 | {
|
---|
6 | [DataContract]
|
---|
7 | public class Membership
|
---|
8 | {
|
---|
9 | [DataMember]
|
---|
10 | public Guid ApplicationId { get; set; }
|
---|
11 | [DataMember]
|
---|
12 | public Guid UserId { get; set; }
|
---|
13 | [DataMember]
|
---|
14 | public string Password { get; set; }
|
---|
15 | // [DataMember]
|
---|
16 | // public string PasswordFormat { get; set; }
|
---|
17 | [DataMember]
|
---|
18 | public string PasswordSalt { get; set; }
|
---|
19 | // [DataMember]
|
---|
20 | // public string MobilePIN { get; set; }
|
---|
21 | [DataMember]
|
---|
22 | public string Email { get; set; }
|
---|
23 | [DataMember]
|
---|
24 | public string LoweredEmail { get; set; }
|
---|
25 | [DataMember]
|
---|
26 | public string PasswordQuestion { get; set; }
|
---|
27 | [DataMember]
|
---|
28 | public string PasswordAnswer { get; set; }
|
---|
29 | [DataMember]
|
---|
30 | public bool IsApproved { get; set; }
|
---|
31 | [DataMember]
|
---|
32 | public bool IsLockedOut { get; set; }
|
---|
33 | [DataMember]
|
---|
34 | public DateTime CreateDate { get; set; }
|
---|
35 | [DataMember]
|
---|
36 | public DateTime LastLoginDate { get; set; }
|
---|
37 | [DataMember]
|
---|
38 | public DateTime LastPasswordChangedDate { get; set; }
|
---|
39 | [DataMember]
|
---|
40 | public DateTime LastLockoutDate { get; set; }
|
---|
41 | // [DataMember]
|
---|
42 | // public int FailedPasswordAttemptCount { get; set; }
|
---|
43 | // [DataMember]
|
---|
44 | // public DateTime FailedPasswordAttemptWindowStart { get; set; }
|
---|
45 | // [DataMember]
|
---|
46 | // public int FailedPasswordAnswerAttemptCount { get; set; }
|
---|
47 | // [DataMember]
|
---|
48 | // public DateTime FailedPasswordAnswerAttemptWindowStart { get; set; }
|
---|
49 | [DataMember]
|
---|
50 | public string Comment { get; set; }
|
---|
51 |
|
---|
52 | }
|
---|
53 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.