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 Duende.​IdentityServer.​Configuration.​DynamicProviderOptions

Assembly: Duende.IdentityServer

Inheritance: object → DynamicProviderOptions

Settings for the dynamic external identity provider feature, which allows identity providers to be configured at runtime without restarting the application.

Properties

Gets or sets the path prefix used for external provider callback URLs in the ASP.NET Core pipeline.
Remarks Defaults to <c>"/federation"</c> . Callback URLs for dynamic providers are constructed as <c>{PathPrefix}/{scheme}/signin</c> (and similar patterns).
Gets or sets an optional callback used to determine whether an incoming request targets a dynamic provider. When set, this takes precedence over <see cref="P:Duende.IdentityServer.Configuration.DynamicProviderOptions.PathPrefix" /> .
Remarks The callback receives the current <see cref="T:Microsoft.AspNetCore.Http.HttpContext" /> and should return the name of the matching authentication scheme, or <c>null</c> if the request is not for a dynamic provider.
public string
SignInScheme
Gets or sets the authentication scheme used to sign in users after a successful external authentication.
Remarks Defaults to <see cref="F:Duende.IdentityServer.IdentityServerConstants.ExternalCookieAuthenticationScheme" /> ( <c>"idsrv.external"</c> ).
public string
SignOutScheme
Gets or sets the authentication scheme used to sign out users from external providers.
Remarks Defaults to <see cref="F:Duende.IdentityServer.IdentityServerConstants.DefaultCookieAuthenticationScheme" /> ( <c>"idsrv"</c> ).
public bool
SignOutSchemeSetExplicitly
Gets a value indicating if the SignOutScheme was set explicitly, either by application logic or by options binding.

Methods

public void
AddProviderType​(string type)
Registers a provider configuration model and authentication handler for the protocol type being used.
FindProviderType​(string type)
Finds the DynamicProviderType registration by protocol type.
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