Namespace: Microsoft.IdentityModel.Tokens
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)
Usage
Visual Basic |
---|
Dim instance As FederatedServiceCredentials |
Syntax
Visual Basic |
---|
Public Class FederatedServiceCredentials Inherits ServiceCredentials |
C# |
---|
public class FederatedServiceCredentials : ServiceCredentials |
C++ |
---|
public ref class FederatedServiceCredentials : public ServiceCredentials |
J# |
---|
public class FederatedServiceCredentials extends ServiceCredentials |
JScript |
---|
public class FederatedServiceCredentials extends ServiceCredentials |
Remarks
Extends the System.ServiceModel.Security.ServiceCredentials class. Can be configured on any ServiceHost to create a FederatedSecurityTokenManager which uses SecurityTokenHandlers along with the security token support provided in WCF. This class also provides properties to set OutOfBandTokenResolver which may be used to validate the signature of a SAML token and register a custom SecurityTokenHandler.
To enable an existing WCF service with WIF, the ConfigureServiceHost method of this class needs to be called before calling ServiceHost.open() on that instance. Service host instance needs to be passed as a parameter to the ConfigureServiceHost() call. This call will make the necessary changes in the service host instance to insert WIF features within the WCF message processing pipeline.
Inheritance Hierarchy
System.ServiceModel.Security.SecurityCredentialsManager
System.ServiceModel.Description.ServiceCredentials
Microsoft.IdentityModel.Tokens.FederatedServiceCredentials