Table of Contents

Class ApiAuthenticationFailureEvent

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

An API resource failed to authenticate.

public class ApiAuthenticationFailureEvent : Event
Inheritance
ApiAuthenticationFailureEvent
Inherited Members

Remarks

Carries no credential and no detail about which part of one was wrong, for the reason ClientAuthenticationFailureEvent gives: telling a caller probing a credential which half it got right is the help it came for.

Constructors

ApiAuthenticationFailureEvent(string?, string)

An API resource that failed to authenticate.

public ApiAuthenticationFailureEvent(string? apiName, string message)

Parameters

apiName string

The API the request named, or null when it named none.

message string

What was refused, in terms that carry no credential.

Properties

ApiName

Null when the request named no API at all.

public string? ApiName { get; }

Property Value

string