Class DynamicProviderOptions
- Namespace
- Duende.IdentityServer.Configuration
- Assembly
- Duende.IdentityServer.dll
Configures the dynamic external provider feature.
public class DynamicProviderOptions
- Inheritance
-
DynamicProviderOptions
- Inherited Members
Constructors
DynamicProviderOptions()
public DynamicProviderOptions()
Properties
PathPrefix
Prefix in the pipeline for callbacks from external providers. Defaults to "/federation".
public PathString PathPrefix { get; set; }
Property Value
SignInScheme
Scheme used for signin. Defaults to the constant IdentityServerConstants.ExternalCookieAuthenticationScheme.
public string SignInScheme { get; set; }
Property Value
SignOutScheme
Scheme for signout. Defaults to the constant IdentityServerConstants.DefaultCookieAuthenticationScheme.
public string SignOutScheme { get; set; }
Property Value
SignOutSchemeSetExplicitly
Gets a value indicating if the SignOutScheme was set explicitly, either by application logic or by options binding.
public bool SignOutSchemeSetExplicitly { get; }
Property Value
Methods
AddProviderType<THandler, TOptions, TIdentityProvider>(string)
Registers a provider configuration model and authentication handler for the protocol type being used.
public void AddProviderType<THandler, TOptions, TIdentityProvider>(string type) where THandler : IAuthenticationRequestHandler where TOptions : AuthenticationSchemeOptions, new() where TIdentityProvider : IdentityProvider
Parameters
type
string
Type Parameters
THandler
TOptions
TIdentityProvider
FindProviderType(string)
Finds the DynamicProviderType registration by protocol type.
public DynamicProviderOptions.DynamicProviderType? FindProviderType(string type)
Parameters
type
string