Table of Contents

Class ClientPrincipal

Namespace
Cratis.Applications.Identity
Assembly
Cratis.Applications.dll

Represents the structure of a Microsoft Client Principal.

public class ClientPrincipal
Inheritance
ClientPrincipal
Inherited Members
Extension Methods

Remarks

Properties

Claims

Get or sets the claims.

public IEnumerable<ClientPrincipalClaim> Claims { get; set; }

Property Value

IEnumerable<ClientPrincipalClaim>

IdentityProvider

Gets or sets the auth type - also referred to as the IDP type.

public string IdentityProvider { get; set; }

Property Value

string

UserDetails

Gets or sets the user details.

public string UserDetails { get; set; }

Property Value

string

UserId

Gets or sets the user ID.

public string UserId { get; set; }

Property Value

string

UserRoles

Gets or sets the user roles.

public IEnumerable<string> UserRoles { get; set; }

Property Value

IEnumerable<string>