Table of Contents

Class ApiAuthenticationSuccessEvent

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

An API resource authenticated itself at the introspection endpoint.

public class ApiAuthenticationSuccessEvent : Event
Inheritance
ApiAuthenticationSuccessEvent
Inherited Members

Remarks

The counterpart of ClientAuthenticationSuccessEvent for the other kind of caller, and raised from ApiSecretValidator for the same reason that one is raised from the client validator: the endpoint is not the only thing that could ever authenticate an API, and an event raised there would be missing from whatever calls the validator next.

Constructors

ApiAuthenticationSuccessEvent(string, string)

An API resource that authenticated successfully.

public ApiAuthenticationSuccessEvent(string apiName, string authenticationMethod)

Parameters

apiName string

The API resource that authenticated.

authenticationMethod string

How it authenticated — see AuthenticationMethod.

Properties

ApiName

The name of the API resource that authenticated.

public string ApiName { get; }

Property Value

string

AuthenticationMethod

How it authenticated — shared secret, mTLS.

public string AuthenticationMethod { get; }

Property Value

string