Class ClientAuthenticationFailureEvent
- Namespace
- Fdyay.IdentityServer.Events
- Assembly
- Fdyay.IdentityServer.Core.dll
A client failed to authenticate.
public class ClientAuthenticationFailureEvent : Event
- Inheritance
-
ClientAuthenticationFailureEvent
- Inherited Members
Remarks
Carries no credential and no reason detail beyond a category. Which part of a credential was wrong is exactly what an attacker probing one wants told, and an event is a thing hosts forward to places with broader access than the server's own logs.
Constructors
ClientAuthenticationFailureEvent(string?, string)
A client that failed to authenticate.
public ClientAuthenticationFailureEvent(string? clientId, string message)
Parameters
clientIdstringThe client the request named, or null when it named none.
messagestringWhat was refused, in terms that carry no credential.
Properties
ClientId
Null when the request named no client at all.
public string? ClientId { get; }