Class UserInfo
This class represents information about a user, deserialized from a Jwt token with Dangl.Identity specific information
Inheritance
System.Object
UserInfo
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Dangl.Identity.Client
Assembly: Dangl.Identity.Client.dll
Syntax
public class UserInfo
Properties
| Improve this Doc View SourceClaims
All claims on the Jwt token
Declaration
public List<Claim> Claims { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.List<System.Security.Claims.Claim> |
DeserializedToken
The complete token
Declaration
public JwtSecurityToken DeserializedToken { get; set; }
Property Value
| Type | Description |
|---|---|
| System.IdentityModel.Tokens.Jwt.JwtSecurityToken |
The email
Declaration
public string Email { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
IdenticonId
The id of the identicon for this user in Dangl.Icons
Declaration
public Guid IdenticonId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Guid |
Roles
The roles for this user
Declaration
public List<string> Roles { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.List<System.String> |
UserId
The id of the user
Declaration
public Guid UserId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Guid |
Username
The username
Declaration
public string Username { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |