Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class Duende.​IdentityModel.​Principal

Assembly: Duende.IdentityModel

Inheritance: object → Principal

Helper class to create ClaimsPrincipal

Properties

Gets an anonymous ClaimsPrincipal.

Methods

Create​(string authenticationType, System.​Security.​Claims.​Claim[] claims)
Creates a ClaimsPrincipal using the specified authentication type and claims.
authenticationType Type of the authentication.
claims The claims.
CreateFromCertificate​(System.​Security.​Cryptography.​X509Certificates.​X509Certificate2 certificate, string authenticationType = "X.509", bool includeAllClaims = false)
Creates a ClaimsPrincipal based on information found in an X509 certificate.
certificate The certificate.
authenticationType Type of the authentication.
includeAllClaims if set to <c>true</c> [include all claims].
public bool
Equals​(object obj)
Inherited from object
protected void
Finalize​()
Inherited from object
public int
GetHashCode​()
Inherited from object
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object