Gets or sets the collection of T:Microsoft.IdentityModel.Tokens.SecurityTokenHandler objects used for serializing and validating tokens found in WS-Trust messages. If user wants to register their own token handler, they can simply add their own handler to this collection.
Namespace: Microsoft.IdentityModel.Configuration
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Dim instance As ServiceConfiguration
Dim value As SecurityTokenHandlerCollection

value = instance.SecurityTokenHandlers

Syntax

Visual Basic
Public ReadOnly Property SecurityTokenHandlers As SecurityTokenHandlerCollection
C#
public SecurityTokenHandlerCollection SecurityTokenHandlers { get; }
C++
public:
property SecurityTokenHandlerCollection^ SecurityTokenHandlers {
		SecurityTokenHandlerCollection^ get ();
}
J#
/** @property */
public SecurityTokenHandlerCollection get_SecurityTokenHandlers ()
JScript
public function get SecurityTokenHandlers () : SecurityTokenHandlerCollection

Property Value

A collection of T:Microsoft.IdentityModel.Tokens.SecurityTokenHandler objects.

Exceptions

Exception type Condition

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

See Also