İngilizce dilinde oku Düzenle

Aracılığıyla paylaş


SecurityBindingElement.EndpointSupportingTokenParameters Property

Definition

Gets the endpoint that supports token parameters.

public System.ServiceModel.Security.Tokens.SupportingTokenParameters EndpointSupportingTokenParameters { get; }

Property Value

The SupportingTokenParameters object that represents the endpoint that supports token parameters.

Remarks

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.

Not

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.

Applies to

Ürün Sürümler
.NET Core 1.0, Core 1.1, 8 (package-provided)
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1
.NET Standard 2.0 (package-provided)
UWP 10.0