ClaimsIdentity Members
[Starting with the .NET Framework 4.5, Windows Identity Foundation (WIF) has been fully integrated into the .NET Framework. The version of WIF addressed by this topic, WIF 3.5, is deprecated and should only be used when developing against the .NET Framework 3.5 SP1 or the .NET Framework 4. For more information about WIF in the .NET Framework 4.5, also known as WIF 4.5, see the Windows Identity Foundation documentation in the .NET Framework 4.5 Development Guide.]
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. |
Top
Protected Constructors
Name | Description | |
---|---|---|
ClaimsIdentity | Overloaded. |
Top
Public Fields
Name | Description | |
---|---|---|
![]() ![]() |
DefaultIssuer | The default value to use for the claim issuer. |
![]() ![]() |
DefaultNameClaimType | The default value to use for the name claim type. |
Top
Public Properties
Name | Description | |
---|---|---|
![]() |
Actor | Gets or sets the calling party that was granted delegation rights. |
![]() ![]() |
AnonymousIdentity | Gets a ClaimsIdentity with no claims. |
![]() |
AuthenticationType | Gets the type of authentication used to authenticate this identity. |
![]() |
BootstrapToken | Gets or sets the token that was originally used to create this identity. |
![]() |
Claims | Gets the collection of claims associated with this identity. |
![]() |
IsAuthenticated | Gets a value that indicates whether the identity has been authenticated. |
![]() |
Label | A string label for the user that is represented by this ClaimsIdentity. |
![]() |
Name | Gets the name of the user represented by this ClaimsIdentity. |
![]() |
NameClaimType | Gets or sets the claim type to be used to determine the Name property. |
![]() |
RoleClaimType | Gets or sets the claim type used for the IsInRole method. |
Top
Public Methods
(see also Protected Methods)
Name | Description | |
---|---|---|
![]() |
Copy | Returns a new ClaimsIdentity object copied from this object. |
![]() |
Equals | (Inherited from Object) |
![]() ![]() |
GetClaimsFromCertificate | Returns a collection of claims extracted from the specified X.509 certificate. |
![]() |
GetHashCode | (Inherited from Object) |
![]() |
GetType | (Inherited from Object) |
![]() |
ToString | Overridden. Returns a string representation of the ClaimsIdentity object. |
Top
Protected Methods
Name | Description | |
---|---|---|
![]() |
Finalize | (Inherited from Object) |
![]() |
GetObjectData | Populates the specified SerializationInfo with the serialization data for the ClaimsIdentity. |
![]() |
MemberwiseClone | (Inherited from Object) |
Top
See Also
Reference
ClaimsIdentity Class
Microsoft.IdentityModel.Claims Namespace
Other Resources
What is Windows Identity Foundation?
Copyright © 2008 by Microsoft Corporation. All rights reserved.