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
public fieldstatic DefaultIssuer The default value to use for the claim issuer.
public fieldstatic DefaultNameClaimType The default value to use for the name claim type.

Top

Public Properties

  Name Description
public property Actor Gets or sets the calling party that was granted delegation rights.
public propertystatic AnonymousIdentity Gets a ClaimsIdentity with no claims.
public property AuthenticationType Gets the type of authentication used to authenticate this identity.
public property BootstrapToken Gets or sets the token that was originally used to create this identity.
public property Claims Gets the collection of claims associated with this identity.
public property IsAuthenticated Gets a value that indicates whether the identity has been authenticated.
public property Label A string label for the user that is represented by this ClaimsIdentity.
public property Name Gets the name of the user represented by this ClaimsIdentity.
public property NameClaimType Gets or sets the claim type to be used to determine the Name property.
public property RoleClaimType Gets or sets the claim type used for the IsInRole method.

Top

Public Methods

(see also Protected Methods)

  Name Description
public method Copy Returns a new ClaimsIdentity object copied from this object.
public method Equals  (Inherited from Object)
public methodstatic GetClaimsFromCertificate Returns a collection of claims extracted from the specified X.509 certificate.
public method GetHashCode  (Inherited from Object)
public method GetType  (Inherited from Object)
public method ToString Overridden. Returns a string representation of the ClaimsIdentity object.

Top

Protected Methods

  Name Description
protected method Finalize  (Inherited from Object)
protected method GetObjectData Populates the specified SerializationInfo with the serialization data for the ClaimsIdentity.
protected method 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.