Compartilhar via


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

Defines a collection of SecurityTokenHandlers.

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

Public Constructors

  Name Description
  SecurityTokenHandlerCollection Overloaded. Creates an instance of SecurityTokenHandlerCollection.

Top

Public Properties

(see also Protected Properties)

  Name Description
public property Configuration Gets or Sets an instance of SecurityTokenHandlerConfiguration
public property Count  (Inherited from Collection)
public property Item Gets a Token Handler by its Token Type Identifier.
public property Item Gets a Token Handler that can handle a given SecurityToken.
public property Item Gets a Token Handler based on the System.Type of the token.
public property Item  (Inherited from Collection)
public property TokenTypeIdentifiers Gets the list of Token type Identifier of the Token Handlers.
public property TokenTypes Gets the List of System.Type of the Token Handlers in this collection.

Top

Protected Properties

  Name Description
protected property Items  (Inherited from Collection)

Top

Public Methods

(see also Protected Methods)

  Name Description
public method Add  (Inherited from Collection)
public method AddOrReplace Adds the specified handler or replaces the existing handler with the same token type identifier with the specified handler.
public method CanReadToken Checks if a token can be read using the SecurityTokenHandlers.
public method CanWriteToken Checks if a token can be written using the SecurityTokenHandlers.
public method Clear  (Inherited from Collection)
public method Contains  (Inherited from Collection)
public method CopyTo  (Inherited from Collection)
public methodstatic CreateDefaultSecurityTokenHandlerCollection Overloaded.  
public method CreateToken  
public method Equals  (Inherited from Object)
public method GetEnumerator  (Inherited from Collection)
public method GetHashCode  (Inherited from Object)
public method GetType  (Inherited from Object)
public method IndexOf  (Inherited from Collection)
public method Insert  (Inherited from Collection)
public method ReadToken Reads a token using the TokenHandlers.
public method Remove  (Inherited from Collection)
public method RemoveAt  (Inherited from Collection)
public method ToString  (Inherited from Object)
public method ValidateToken Validates a given token using the SecurityTokenHandlers.
public method WriteToken Writes a given SecurityToken to the XmlWriter.

Top

Protected Methods

  Name Description
protected method ClearItems Overridden. Override. (Inherited from Collection<T>"/>
protected method Finalize  (Inherited from Object)
protected method InsertItem Overridden. Override. (Inherited from Collection<T>"/>
protected method MemberwiseClone  (Inherited from Object)
protected method RemoveItem Overridden. Override. (Inherited from Collection<T>"/>
protected method SetItem Overridden. Override. (Inherited from Collection<T>"/>

Top

See Also

Reference

SecurityTokenHandlerCollection Class
Microsoft.IdentityModel.Tokens Namespace

Copyright © 2008 by Microsoft Corporation. All rights reserved.