-
Notifications
You must be signed in to change notification settings - Fork 92
/
IdentityUserClaim.cs
35 lines (33 loc) · 1.02 KB
/
IdentityUserClaim.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
namespace MongoDB.AspNet.Identity
{
/// <summary>
/// Class IdentityUserClaim.
/// </summary>
public class IdentityUserClaim
{
/// <summary>
/// Gets or sets the identifier.
/// </summary>
/// <value>The identifier.</value>
[BsonId]
[BsonRepresentation(BsonType.ObjectId)]
public virtual string Id { get; set; }
/// <summary>
/// Gets or sets the user identifier.
/// </summary>
/// <value>The user identifier.</value>
public virtual string UserId { get; set; }
/// <summary>
/// Gets or sets the type of the claim.
/// </summary>
/// <value>The type of the claim.</value>
public virtual string ClaimType { get; set; }
/// <summary>
/// Gets or sets the claim value.
/// </summary>
/// <value>The claim value.</value>
public virtual string ClaimValue { get; set; }
}
}