ServiceCredentialsSecurityTokenManager.CreateSecureConversationTokenAuthenticator 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
基于传入的属性要求创建安全对话令牌身份验证器。
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
一个安全令牌解析程序对象,该对象可以在您具有密钥标识符或密钥标识符子句时检索安全令牌或密钥。
返回
安全令牌身份验证器。