FederatedServiceCredentials.ConfigureServiceHost 方法

Helper method that Initializes the SecurityTokenManager that will be exposed through the given ServiceHost. By default the method exposes the SecurityTokenHandlers initialized with IdentityServiceConfiguration through the ServiceHost SecurityTokenManager.

ConfigureServiceHost configures a Windows Communication Foundation (WCF) relying party with . Use the overloads of this method to specify configuration details.

ConfigureServiceHost plugs into the WCF processing pipeline by:

  1. Using the existing service credentials to build a FederatedServiceCredentials, which then replaces the existing service credentials.

  2. Replacing the WCF service authorization manager with a WIF authorization manager. Note that this method overwrites any existing authorization manager.

重载列表

名称 说明
FederatedServiceCredentials.ConfigureServiceHost (ServiceHostBase) Helper method that Initializes the SecurityTokenManager that will be exposed through the given ServiceHost. By default the method exposes the SecurityTokenHandlers initialized with IdentityServiceConfiguration through the ServiceHost SecurityTokenManager.
FederatedServiceCredentials.ConfigureServiceHost (ServiceHostBase, ServiceConfiguration)  
FederatedServiceCredentials.ConfigureServiceHost (ServiceHostBase, String)  

请参见

参考

FederatedServiceCredentials 类
FederatedServiceCredentials 成员
Microsoft.IdentityModel.Tokens 命名空间

版权所有 (C) 2008 Microsoft Corporation。保留所有权利。