Partager via


Méthode 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.

Liste de surcharges

Nom Description
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)  

Voir aussi

Référence

Classe FederatedServiceCredentials
Membres FederatedServiceCredentials
Espace de noms Microsoft.IdentityModel.Tokens

Copyright © 2008 Microsoft Corporation.Tous droits réservés.