Class SamlDynamicProviderExtensions
- Namespace
- Microsoft.Extensions.DependencyInjection
- Assembly
- Fdyay.IdentityServer.Saml.dll
Registers SAML 2.0 as a dynamic provider kind.
public static class SamlDynamicProviderExtensions
- Inheritance
-
SamlDynamicProviderExtensions
- Inherited Members
Methods
AddInMemorySamlProviders(IIdentityServerBuilder, IEnumerable<SamlProvider>)
Registers an IIdentityProviderStore over a fixed list of SAML providers.
public static IIdentityServerBuilder AddInMemorySamlProviders(this IIdentityServerBuilder builder, IEnumerable<SamlProvider> providers)
Parameters
builderIIdentityServerBuilderprovidersIEnumerable<SamlProvider>
Returns
Remarks
Duende 8.0.1's: the list handed to AddInMemoryIdentityProviders, so it is validated as it is read.
AddSamlDynamicProvider(IIdentityServerBuilder)
Lets a stored row of type saml become a working SAML 2.0 identity provider.
public static IIdentityServerBuilder AddSamlDynamicProvider(this IIdentityServerBuilder builder)
Parameters
builderIIdentityServerBuilder
Returns
Remarks
Duende 8.0.1's AddSamlDynamicProvider, and the dynamic twin of AddExternalSaml2: the same handler,
the external cookie as the sign-in scheme and this server's as the sign-out scheme, with the partner's settings
read from a row instead of written at startup. Needs AddDynamicProviders, as every kind does.