SecurityBindingElement.CreateIssuedTokenForSslBindingElement Method (IssuedSecurityTokenParameters, Boolean)

 

Creates a symmetric security binding element that is configured to require client authentication based on an issued token and server authentication based on the server certificate.

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

public static SymmetricSecurityBindingElement CreateIssuedTokenForSslBindingElement(
	IssuedSecurityTokenParameters issuedTokenParameters,
	bool requireCancellation
)

Parameters

issuedTokenParameters
Type: System.ServiceModel.Security.Tokens.IssuedSecurityTokenParameters

An IssuedSecurityTokenParameters.

requireCancellation
Type: System.Boolean

true if cancellation is required; otherwise, false. Setting it to false enables a security context token that is useful in Web farm scenarios, because in this mode the session state is encoded inside the established security context token instead of being kept in the server memory.

Exception Condition
ArgumentNullException

issuedTokenParameters is null.

.NET Framework
Available since 3.0
Return to top
Show: