Table of Contents

Class DynamicAuthenticationScheme

Namespace
Fdyay.IdentityServer.Hosting
Assembly
Fdyay.IdentityServer.AspNetCore.dll

A stored identity provider as an authentication scheme, with the row it was made from.

public class DynamicAuthenticationScheme : AuthenticationScheme
Inheritance
DynamicAuthenticationScheme
Inherited Members

Remarks

Duende 8.0.1's, measured: what DynamicAuthenticationSchemeProvider hands out for a stored provider, so code that looks a scheme up can tell a dynamic one from a registered one and read its row — await schemes.GetSchemeAsync(name) is DynamicAuthenticationScheme dynamic. Its name and display name are the row's; its handler is the one the row's kind registers.

Constructors

DynamicAuthenticationScheme(IdentityProvider, Type)

Makes a scheme of idp, named and labelled as the row is.

public DynamicAuthenticationScheme(IdentityProvider idp, Type handlerType)

Parameters

idp IdentityProvider

The stored provider; its Scheme is the scheme's name and its DisplayName the scheme's.

handlerType Type

The authentication handler the provider's kind registers.

Exceptions

ArgumentNullException

idp is null.

Properties

IdentityProvider

The stored row this scheme was made from.

public IdentityProvider IdentityProvider { get; set; }

Property Value

IdentityProvider