This documentation is archived and is not being maintained.

SecurityBindingElement.EndpointSupportingTokenParameters Property

Gets the endpoint that supports token parameters.

Namespace:  System.ServiceModel.Channels
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public SupportingTokenParameters EndpointSupportingTokenParameters { get; }

Supporting tokens provide additional claims beyond those contained in the primary tokens for the binding. The collection returned by the EndpointSupportingTokenParameters contains additional token parameters (SecurityTokenParameters) for all operations defined by an endpoint. The primary token parameters are found on either the SymmetricSecurityBindingElement or the AsymmetricSecurityBindingElement (both inherit from the SecurityBindingElement class). In the case of the SymmetricSecurityBindingElement, the primary token parameters are returned by the ProtectionTokenParameters property. On the AsymmetricSecurityBindingElement element there are two parameter properties, the InitiatorTokenParameters and RecipientTokenParameters properties.

NoteNote:

The properties are called parameters because they specify only the type of the security token, not the actual values.

Supporting tokens can be scoped at the endpoint level, in which case they are included in all secured messages sent by the client to the service. The service enforces that all secured messages from the client contain the supporting token types configured by this property.

To provide supporting tokens only for an operation (not all operations on an endpoint), use the OptionalOperationSupportingTokenParameters property.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0
Show: