ServiceCredentialsSecurityTokenManager.CreateSecureConversationTokenAuthenticator 方法

定义

基于传入的属性要求创建安全对话令牌身份验证器。

protected:
 System::IdentityModel::Selectors::SecurityTokenAuthenticator ^ CreateSecureConversationTokenAuthenticator(System::ServiceModel::Security::Tokens::RecipientServiceModelSecurityTokenRequirement ^ recipientRequirement, bool preserveBootstrapTokens, [Runtime::InteropServices::Out] System::IdentityModel::Selectors::SecurityTokenResolver ^ % sctResolver);
protected System.IdentityModel.Selectors.SecurityTokenAuthenticator CreateSecureConversationTokenAuthenticator (System.ServiceModel.Security.Tokens.RecipientServiceModelSecurityTokenRequirement recipientRequirement, bool preserveBootstrapTokens, out System.IdentityModel.Selectors.SecurityTokenResolver sctResolver);
member this.CreateSecureConversationTokenAuthenticator : System.ServiceModel.Security.Tokens.RecipientServiceModelSecurityTokenRequirement * bool * SecurityTokenResolver -> System.IdentityModel.Selectors.SecurityTokenAuthenticator
Protected Function CreateSecureConversationTokenAuthenticator (recipientRequirement As RecipientServiceModelSecurityTokenRequirement, preserveBootstrapTokens As Boolean, ByRef sctResolver As SecurityTokenResolver) As SecurityTokenAuthenticator

参数

recipientRequirement
RecipientServiceModelSecurityTokenRequirement

表示特定于侦听器的安全属性需求。

preserveBootstrapTokens
Boolean

如果应保留启动令牌,则为 true;否则为 false

sctResolver
SecurityTokenResolver

一个安全令牌解析程序对象,该对象可以在您具有密钥标识符或密钥标识符子句时检索安全令牌或密钥。

返回

安全令牌身份验证器。

适用于