SecurityTokenElement 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.]

This class represents a number elements found in a RequestSecurityToken which represent security tokens.

The following tables list the members exposed by the SecurityTokenElement type.

Public Constructors

  Name Description
  SecurityTokenElement Overloaded. Initializes a new instance of the SecurityTokenElement class.

Top

Public Properties

  Name Description
public property SecurityTokenXml Gets the XML representation of the token.

Top

Public Methods

(see also Protected Methods)

  Name Description
public method Equals  (Inherited from Object)
public method GetHashCode  (Inherited from Object)
public method GetSecurityToken Gets the security token this object represents.
public method GetSubject Gets a collection of ClaimsIdentity objects for the security token this object represents.
public method GetType  (Inherited from Object)
public method ToString  (Inherited from Object)

Top

Protected Methods

  Name Description
protected method CreateSubject Creates the ClaimsIdentityCollection for the security token this object represents.
protected method Finalize  (Inherited from Object)
protected method MemberwiseClone  (Inherited from Object)
protected method ReadSecurityToken Reads a SecurityToken from the provided XML representation.

Top

See Also

Reference

SecurityTokenElement Class
Microsoft.IdentityModel.Tokens Namespace

Copyright © 2008 by Microsoft Corporation. All rights reserved.