Table of Contents

Class EventIds

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

Stable numeric ids, so a host can filter on something that survives a rename.

public static class EventIds
Inheritance
EventIds
Inherited Members

Remarks

Grouped by category in blocks of a thousand, with gaps left inside each block. An id is part of the contract with whatever is consuming these — a dashboard query or an alert rule keys off it — so a value here is never reused for a different event once it has shipped.

These are this server's numbers, not Duende's. The two servers assign different values to some of the same events, because the ids here were given out before that comparison was made and the rule above is worth more than the coincidence: renumbering a shipped event would silently change what an existing alert rule matches, which is the failure the rule exists to prevent. A host migrating an alert should key on the constants in this class or on Event.Name, both of which are stable.

Fields

ApiAuthenticationFailure

public const int ApiAuthenticationFailure = 1031

Field Value

int

ApiAuthenticationSuccess

public const int ApiAuthenticationSuccess = 1030

Field Value

int

BackChannelAuthenticationNotificationFailure

public const int BackChannelAuthenticationNotificationFailure = 5012

Field Value

int

BackChannelLogoutFailure

public const int BackChannelLogoutFailure = 1021

Field Value

int

BackchannelAuthenticationFailure

public const int BackchannelAuthenticationFailure = 5011

Field Value

int

BackchannelAuthenticationSuccess

public const int BackchannelAuthenticationSuccess = 5010

Field Value

int

ClientAuthenticationFailure

public const int ClientAuthenticationFailure = 1001

Field Value

int

ClientAuthenticationSuccess

public const int ClientAuthenticationSuccess = 1000

Field Value

int

ConsentDenied

The id of ConsentDeniedEvent.

public const int ConsentDenied = 3001

Field Value

int

ConsentGranted

public const int ConsentGranted = 3000

Field Value

int

DPoPProofReplayDetected

public const int DPoPProofReplayDetected = 3011

Field Value

int

DeviceAuthorizationFailure

public const int DeviceAuthorizationFailure = 5001

Field Value

int

DeviceAuthorizationSuccess

public const int DeviceAuthorizationSuccess = 5000

Field Value

int

GrantsRevoked

The id of GrantsRevokedEvent.

public const int GrantsRevoked = 3005

Field Value

int

InvalidClientConfiguration

The id of InvalidClientConfigurationEvent: a stored client refused by its configuration validator. Duende's offset in this block.

public const int InvalidClientConfiguration = 4001

Field Value

int

InvalidIdentityProviderConfiguration

public const int InvalidIdentityProviderConfiguration = 4002

Field Value

int

InvalidSamlServiceProviderConfiguration

The id of InvalidSamlServiceProviderConfigurationEvent, raised by the SAML package when a stored service provider is refused by its configuration validator.

public const int InvalidSamlServiceProviderConfiguration = 4003

Field Value

int

PushedAuthorizationFailure

public const int PushedAuthorizationFailure = 6001

Field Value

int

PushedAuthorizationSuccess

public const int PushedAuthorizationSuccess = 6000

Field Value

int

RefreshTokenReplayDetected

public const int RefreshTokenReplayDetected = 3010

Field Value

int

SamlAssertionRejected

public const int SamlAssertionRejected = 7010

Field Value

int

SamlLogoutFailure

public const int SamlLogoutFailure = 7020

Field Value

int

SamlLogoutNotificationFailure

public const int SamlLogoutNotificationFailure = 7022

Field Value

int

SamlSignOnFailure

public const int SamlSignOnFailure = 7001

Field Value

int

SamlSignOnSuccess

public const int SamlSignOnSuccess = 7000

Field Value

int

SamlSingleLogoutSuccess

public const int SamlSingleLogoutSuccess = 7021

Field Value

int

SenderConstraintViolation

public const int SenderConstraintViolation = 3012

Field Value

int

SessionExpired

public const int SessionExpired = 1023

Field Value

int

SessionRevoked

public const int SessionRevoked = 1022

Field Value

int

TokenIntrospectionFailure

public const int TokenIntrospectionFailure = 2021

Field Value

int

TokenIntrospectionSuccess

public const int TokenIntrospectionSuccess = 2020

Field Value

int

TokenIssuedFailure

public const int TokenIssuedFailure = 2001

Field Value

int

TokenIssuedSuccess

public const int TokenIssuedSuccess = 2000

Field Value

int

TokenRevokedSuccess

public const int TokenRevokedSuccess = 2010

Field Value

int

UnhandledException

public const int UnhandledException = 4000

Field Value

int

UserLoginFailure

public const int UserLoginFailure = 1011

Field Value

int

UserLoginSuccess

public const int UserLoginSuccess = 1010

Field Value

int

UserLogoutSuccess

public const int UserLogoutSuccess = 1020

Field Value

int