Class InvalidClientConfigurationEvent
- Namespace
- Fdyay.IdentityServer.Events
- Assembly
- Fdyay.IdentityServer.Core.dll
A client registration could not be served, and is being answered as no client.
public class InvalidClientConfigurationEvent : Event
- Inheritance
-
InvalidClientConfigurationEvent
- Inherited Members
Remarks
Duende 8.0.1's InvalidClientConfiguration, measured: an error event with Duende's name, category, type and id
offset (ErrorStart + 1), and the validator's reason as its message. Raised by ValidatingClientStore<T>
on every read of a client it refuses. 0.65.0 declined it because nothing validated client configuration; 0.117.0 is
what does.
Constructors
InvalidClientConfigurationEvent(Client, string?)
A client registration refused by the configuration validator.
public InvalidClientConfigurationEvent(Client client, string? errorMessage)
Parameters
clientClientThe registration refused; its id and name are copied.
errorMessagestringThe validator's reason, carried as Message.
Exceptions
- ArgumentNullException
clientis null.
Properties
ClientId
The id of the client refused.
public string ClientId { get; }
Property Value
ClientName
The client's name, or unknown name, as Duende fills it.
public string ClientName { get; }