SecurityBindingElement.OperationSupportingTokenParameters Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the collection of operation supporting token parameters.
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)
Property Value
A IDictionary<TKey,TValue> of types String (key) and SupportingTokenParameters (value).
Remarks
Supporting tokens provide additional claims beyond those contained in the primary tokens for the binding.
The collection returned by the OperationSupportingTokenParameters property contains additional token parameters (SecurityTokenParameters) for specific operations defined. 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 there are two parameter properties, the InitiatorTokenParameters and RecipientTokenParameters properties.
Note
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 a different scope than the binding, in this case the operation, in which case they are included in all secured messages sent by the client to services that have the specified Action.
To provide supporting tokens only for an operation (not all operations on an endpoint), use the OptionalOperationSupportingTokenParameters property.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈