Freigeben über


ServiceConfiguration.SecurityTokenHandlers Property

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)

Verwendung

    Dim instance As ServiceConfiguration
Dim value As SecurityTokenHandlerCollection

value = instance.SecurityTokenHandlers

Syntax

'Declaration
Public ReadOnly Property SecurityTokenHandlers As SecurityTokenHandlerCollection
public SecurityTokenHandlerCollection SecurityTokenHandlers { get; }
public:
property SecurityTokenHandlerCollection^ SecurityTokenHandlers {
    SecurityTokenHandlerCollection^ get ();
}
/** @property */
public SecurityTokenHandlerCollection get_SecurityTokenHandlers ()
public function get SecurityTokenHandlers () : SecurityTokenHandlerCollection

Eigenschaftenwert

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

Ausnahmen

Ausnahmetyp Bedingung

Threadsicherheit

Beliebige öffentliche, statische (Freigegebene in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Plattformen

Entwicklungsplattformen

Windows Server 2003, Windows Vista

Target Platforms

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

Siehe auch

Referenz

ServiceConfiguration Class
ServiceConfiguration Members
Microsoft.IdentityModel.Configuration Namespace