Table of Contents

Class InvalidIdentityProviderConfigurationEvent

Namespace
Fdyay.IdentityServer.Events
Assembly
Fdyay.IdentityServer.Core.dll

A stored identity provider could not be served, and is being answered as no provider.

public class InvalidIdentityProviderConfigurationEvent : Event
Inheritance
InvalidIdentityProviderConfigurationEvent
Inherited Members

Remarks

Duende 8.0.1's InvalidIdentityProviderConfiguration, measured: an error event, named and shaped as there, with the validator's reason as its message. Raised by ValidatingIdentityProviderStore<T> on every read of a provider it refuses, so a row that is wrong in the store is visible to a host's sink and not only in the log — a sign-in page that has quietly stopped offering a partner looks, from outside, like nothing at all.

Constructors

InvalidIdentityProviderConfigurationEvent(IdentityProvider, string?)

A stored identity provider refused by its configuration validator.

public InvalidIdentityProviderConfigurationEvent(IdentityProvider provider, string? errorMessage)

Parameters

provider IdentityProvider

The provider refused; its scheme, display name and type are copied.

errorMessage string

The validator's reason, carried as Message.

Exceptions

ArgumentNullException

provider is null.

Properties

DisplayName

Its display name, or unknown name when it has none.

public string DisplayName { get; set; }

Property Value

string

Scheme

The scheme of the provider refused.

public string Scheme { get; set; }

Property Value

string

Type

The kind it names, or unknown type when it names none.

public string Type { get; set; }

Property Value

string