SecurityBindingElement.OperationSupportingTokenParameters プロパティ

定義

トークン パラメーターをサポートする操作のコレクションを取得します。

public:
 property System::Collections::Generic::IDictionary<System::String ^, System::ServiceModel::Security::Tokens::SupportingTokenParameters ^> ^ OperationSupportingTokenParameters { System::Collections::Generic::IDictionary<System::String ^, System::ServiceModel::Security::Tokens::SupportingTokenParameters ^> ^ get(); };
public System.Collections.Generic.IDictionary<string,System.ServiceModel.Security.Tokens.SupportingTokenParameters> OperationSupportingTokenParameters { get; }
member this.OperationSupportingTokenParameters : System.Collections.Generic.IDictionary<string, System.ServiceModel.Security.Tokens.SupportingTokenParameters>
Public ReadOnly Property OperationSupportingTokenParameters As IDictionary(Of String, SupportingTokenParameters)

プロパティ値

IDictionary<TKey,TValue> 型 (キー) および String 型 (値) の SupportingTokenParameters

注釈

サポート トークンはバインドのために、プライマリ トークンに含まれていない追加クレームを提供します。

OperationSupportingTokenParameters プロパティが返すコレクションには、定義されている特定の操作に対する追加のトークン パラメーター (SecurityTokenParameters) が格納されています。 プライマリ トークン パラメーターは、SymmetricSecurityBindingElement または AsymmetricSecurityBindingElement にあります (どちらも SecurityBindingElement クラスを継承します)。 SymmetricSecurityBindingElement の場合は、プライマリ トークン パラメーターは ProtectionTokenParameters プロパティで返されます。 AsymmetricSecurityBindingElement には、InitiatorTokenParameters プロパティおよび RecipientTokenParameters プロパティという 2 つのパラメーター プロパティがあります。

Note

これらのプロパティは、実際の値ではなく、セキュリティ トークンの種類だけを指定しているため、パラメーターと呼ばれます。

サポート トークンは、バインドとは異なるスコープ (この場合は操作) を対象にすることができます。その場合、指定したアクションを備えるサービスにクライアントから送信されるすべてのセキュリティ保護されたメッセージに、サポート トークンが格納されます。

エンドポイントのすべての操作ではなく、特定の操作に対してのみサポート トークンを提供するには、OptionalOperationSupportingTokenParameters プロパティを使用します。

適用対象