SecurityBindingElement.CreateIssuedTokenOverTransportBindingElement メソッド

定義

セキュリティ バインド要素を作成し、発行されたトークンを使用する SOAP セキュリティ ベースのクライアント認証を必要とするように構成します。 このバインド要素では、トランスポートはサーバー認証だけでなく、メッセージ保護 (たとえば HTTPS) も提供する必要があります。

public:
 static System::ServiceModel::Channels::TransportSecurityBindingElement ^ CreateIssuedTokenOverTransportBindingElement(System::ServiceModel::Security::Tokens::IssuedSecurityTokenParameters ^ issuedTokenParameters);
public static System.ServiceModel.Channels.TransportSecurityBindingElement CreateIssuedTokenOverTransportBindingElement (System.ServiceModel.Security.Tokens.IssuedSecurityTokenParameters issuedTokenParameters);
static member CreateIssuedTokenOverTransportBindingElement : System.ServiceModel.Security.Tokens.IssuedSecurityTokenParameters -> System.ServiceModel.Channels.TransportSecurityBindingElement
Public Shared Function CreateIssuedTokenOverTransportBindingElement (issuedTokenParameters As IssuedSecurityTokenParameters) As TransportSecurityBindingElement

パラメーター

戻り値

TransportSecurityBindingElement オブジェクト。

例外

issuedTokenParametersnullです。

注釈

作成されたバインディングでは、IncludeTimestamptrue に設定されています。

LocalClientSecuritySettings から返される LocalClientSettings オブジェクトでは、DetectReplays プロパティが false に設定されています。

LocalServiceSecuritySettings から返される LocalServiceSettings オブジェクトでは、DetectReplays プロパティが false に設定されています。

Note

このメソッドを呼び出すことで SecurityBindingElement オブジェクトが作成されたら、KeyType プロパティを変更不可として扱う必要があります。 この値が変更されると、矛盾するバインド動作が発生する可能性があります。

適用対象