Entity Framework Support for Relying Parties

Support for Entity Framework for the IdentityServer WS-Federation plugin can be found in the IdentityServer3.WsFederation.EntityFramework repository.

Relying Party Configuration

The RelyingPartyService is the EF-based implementation of the IRelyingPartyService interface.


To register the Relying Party store within IdentityServer the RegisterRelyingPartyService extension method on the WsFederationServiceFactory can be used. This extension method accepts an EntityFrameworkServiceOptions which contains these properties:

Example configuration:

var efConfig = new EntityFrameworkServiceOptions {
   ConnectionString = "SomeConnectionName",
   //Schema = "someSchemaIfDesired"

var factory = new WsFederationServiceFactory(options.Factory);