Last change
on this file since 4589 was
4589,
checked in by jwolfing, 14 years ago
|
#1196 implemented the DataContract for Application and Membership class in DataAccess
|
File size:
1.8 KB
|
Line | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using System.Linq;
|
---|
4 | using System.Text;
|
---|
5 | using System.Runtime.Serialization;
|
---|
6 |
|
---|
7 | namespace HeuristicLab.Services.Authentication.DataTransfer
|
---|
8 | {
|
---|
9 | [DataContract]
|
---|
10 | public class Membership
|
---|
11 | {
|
---|
12 | [DataMember]
|
---|
13 | public Guid ApplicationId { get; set; }
|
---|
14 | [DataMember]
|
---|
15 | public Guid UserID { get; set; }
|
---|
16 | [DataMember]
|
---|
17 | public string Password { get; set; }
|
---|
18 | [DataMember]
|
---|
19 | public string PasswordFormat { get; set; }
|
---|
20 | [DataMember]
|
---|
21 | public string PasswordSalt { get; set; }
|
---|
22 | [DataMember]
|
---|
23 | public string MobilePIN { get; set; }
|
---|
24 | [DataMember]
|
---|
25 | public string Email { get; set; }
|
---|
26 | [DataMember]
|
---|
27 | public string LoweredEmail { get; set; }
|
---|
28 | [DataMember]
|
---|
29 | public string PasswordQuestion { get; set; }
|
---|
30 | [DataMember]
|
---|
31 | public string PasswordAnswer { get; set; }
|
---|
32 | [DataMember]
|
---|
33 | public bool IsApproved { get; set; }
|
---|
34 | [DataMember]
|
---|
35 | public bool IsLookedOut { get; set; }
|
---|
36 | [DataMember]
|
---|
37 | public DateTime CreateDate { get; set; }
|
---|
38 | [DataMember]
|
---|
39 | public DateTime LastLoginDate { get; set; }
|
---|
40 | [DataMember]
|
---|
41 | public DateTime LastPasswordChangedDate { get; set; }
|
---|
42 | [DataMember]
|
---|
43 | public DateTime LastLockoutDate { get; set; }
|
---|
44 | [DataMember]
|
---|
45 | public int FailedPasswordAttemptCount { get; set; }
|
---|
46 | [DataMember]
|
---|
47 | public DateTime FailedPasswordAttemptWindowStart { get; set; }
|
---|
48 | [DataMember]
|
---|
49 | public int FailedPasswordAnswerAttemptCount { get; set; }
|
---|
50 | [DataMember]
|
---|
51 | public DateTime FailedPasswordAnswerAttemptWindowStart { get; set; }
|
---|
52 | [DataMember]
|
---|
53 | public string Comment { get; set; }
|
---|
54 |
|
---|
55 | }
|
---|
56 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.