Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class Microsoft.​Extensions.​DependencyInjection.​IdentityServerBuilderExtensionsSaml

Assembly: Duende.IdentityServer

Inheritance: object → IdentityServerBuilderExtensionsSaml

Builder extension methods for opting in to SAML 2.0 support.

Methods

public static IIdentityServerBuilder
AddSaml​(IIdentityServerBuilder builder)
Adds SAML 2.0 support to IdentityServer.
builder The builder.
Remarks Registers all SAML services and endpoints, and enables the SAML endpoints in <see cref="T:Duende.IdentityServer.Configuration.EndpointsOptions" /> .
public static IIdentityServerBuilder
AddSaml​(IIdentityServerBuilder builder, System.​Action<​Duende.​IdentityServer.​Configuration.​SamlOptions> configureSaml)
Adds SAML 2.0 support to IdentityServer with custom endpoint configuration.
builder The builder.
configureSaml Action to configure SAML options. Endpoint paths configured here are used for routing registration.
public static IIdentityServerBuilder
AddSamlServiceProviderStore​(IIdentityServerBuilder builder)
Adds a custom SAML service provider store. The store is wrapped in a <see cref="T:Duende.IdentityServer.Stores.ValidatingSamlServiceProviderStore`1" /> that validates service provider configuration on load using the registered <see cref="T:Duende.IdentityServer.Validation.ISamlServiceProviderConfigurationValidator" /> .
builder The builder.
public static IIdentityServerBuilder
AddSamlServiceProviderStoreCache​(IIdentityServerBuilder builder)
Registers a caching decorator around a custom <see cref="T:Duende.IdentityServer.Stores.ISamlServiceProviderStore" /> implementation. The decorator maintains an in-memory cache of <c>SamlServiceProvider</c> configuration objects to reduce repeated store lookups. Cache duration is configurable via <see cref="P:Duende.IdentityServer.Configuration.IdentityServerOptions.Caching" /> .
builder The builder.
public bool
Equals​(object obj)
Inherited from object
protected void
Finalize​()
Inherited from object
public int
GetHashCode​()
Inherited from object
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object