共用方式為


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

安全性權杖解析器物件可以在您有金鑰識別碼或金鑰識別碼子句時,擷取安全性權杖或金鑰。

傳回

安全性權杖驗證器。

適用於