SecurityBindingElement.CreateIssuedTokenOverTransportBindingElement Method

Definition

Creates a security binding element configured to require SOAP security based client authentication using an issued token. This binding element requires the transport to provide server authentication and message protection (for example, HTTPS).

C#
public static System.ServiceModel.Channels.TransportSecurityBindingElement CreateIssuedTokenOverTransportBindingElement(System.ServiceModel.Security.Tokens.IssuedSecurityTokenParameters issuedTokenParameters);

Parameters

Returns

A TransportSecurityBindingElement object.

Exceptions

issuedTokenParameters is null.

Remarks

The created binding has IncludeTimestamp set to true.

The LocalClientSecuritySettings object returned from LocalClientSettings has its DetectReplays property set to false.

The LocalServiceSecuritySettings object returned from LocalServiceSettings has its DetectReplays property set to false.

Notiz

Once a SecurityBindingElement object is created by calling this method, the KeyType property should be treated as immutable. Inconsistent binding behavior may occur if this value is modified.

Applies to

Produkt Versiounen
.NET 8 (package-provided), 9 (package-provided), 10 (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, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided)