Implementation of a claims-based representation of a single user.
The following tables list the members exposed by the ClaimsIdentity type.
Public Constructors (see also Protected Constructors)
Name | Description | |
---|---|---|
ClaimsIdentity | Overloaded. |
Protected Constructors
Name | Description | |
---|---|---|
ClaimsIdentity | Overloaded. |
Public Fields
Name | Description | |
---|---|---|
DefaultIssuer | Gets the default value for the claim issuer if none is specified. | |
DefaultNameClaimType | The default name claim type. |
Public Properties
Name | Description | |
---|---|---|
Actor | T:Microsoft.IdentityModel.Claims.IClaimsIdentity of the calling party that was granted delegation rights. | |
AnonymousIdentity | Returns a ClaimsIdentity with zero claims. | |
AuthenticationType | Gets the type of authentication used. | |
BootstrapToken | Gets or sets the token that was originally used to create this identity. | |
Claims | Gets the list of T:Microsoft.IdentityModel.Claims.Claim values associated with this identity. | |
IsAuthenticated | Gets a value that indicates whether the user has been authenticated. | |
Label | A string label for the user who is represented by this IClaimsIdentity. | |
Name | Gets the name of the current user. | |
NameClaimType | Provides access to the name of the claim type used to determine IIdentity.Name. | |
RoleClaimType | Claim type used for IPrincipal.IsInRole. |
Public Methods (see also Protected Methods)
Name | Description | |
---|---|---|
Copy | Returns a new T:Microsoft.IdentityModel.Claims.ClaimsIdentity object copied from this object. | |
Equals | Overloaded. (Inherited from Object) | |
GetClaimsFromCertificate | Returns a collection of claims from an X509 certificate. | |
GetHashCode | (Inherited from Object) | |
GetType | (Inherited from Object) | |
ReferenceEquals | (Inherited from Object) | |
ToString | Overridden. Returns a string representation of the T:Microsoft.IdentityModel.Claims.ClaimsIdentity object. |
Protected Methods
Name | Description | |
---|---|---|
Finalize | (Inherited from Object) | |
GetObjectData | Populates the specified T:System.Runtime.Serialization.SerializationInfo with the serialization data for the WindowsClaimsIdentity | |
MemberwiseClone | (Inherited from Object) |
Explicit Interface Implementations
Name | Description | |
---|---|---|
System.Runtime.Serialization.ISerializable.GetObjectData |
See Also
Copyright © 2008 by Microsoft Corporation. All rights reserved.