Skip to content

RiscEventTypes Class

The event type URIs RISC 1.0 defines (its Section 2), and the one registration call that teaches a receiver's event registry the whole dictionary.

C#
public static class RiscEventTypes

Inheritance System.Object → RiscEventTypes

Fields

RiscEventTypes.AccountCredentialChangeRequired Field

The account was required to change a credential (RISC 1.0 Section 2.1).

C#
public const string AccountCredentialChangeRequired = "https://schemas.openid.net/secevent/risc/event-type/account-credential-change-required";

Field Value

System.String

RiscEventTypes.AccountDisabled Field

The account has been disabled (RISC 1.0 Section 2.3).

C#
public const string AccountDisabled = "https://schemas.openid.net/secevent/risc/event-type/account-disabled";

Field Value

System.String

RiscEventTypes.AccountEnabled Field

The account has been enabled (RISC 1.0 Section 2.4).

C#
public const string AccountEnabled = "https://schemas.openid.net/secevent/risc/event-type/account-enabled";

Field Value

System.String

RiscEventTypes.AccountPurged Field

The account has been permanently deleted (RISC 1.0 Section 2.2).

C#
public const string AccountPurged = "https://schemas.openid.net/secevent/risc/event-type/account-purged";

Field Value

System.String

RiscEventTypes.CredentialCompromise Field

A credential of the subject was found compromised (RISC 1.0 Section 2.7).

C#
public const string CredentialCompromise = "https://schemas.openid.net/secevent/risc/event-type/credential-compromise";

Field Value

System.String

RiscEventTypes.IdentifierChanged Field

The identifier in the subject has changed (RISC 1.0 Section 2.5).

C#
public const string IdentifierChanged = "https://schemas.openid.net/secevent/risc/event-type/identifier-changed";

Field Value

System.String

RiscEventTypes.IdentifierRecycled Field

The identifier in the subject now belongs to a new user (RISC 1.0 Section 2.6).

C#
public const string IdentifierRecycled = "https://schemas.openid.net/secevent/risc/event-type/identifier-recycled";

Field Value

System.String

RiscEventTypes.OptIn Field

The account opted into RISC event exchanges (RISC 1.0 Section 2.8.1).

C#
public const string OptIn = "https://schemas.openid.net/secevent/risc/event-type/opt-in";

Field Value

System.String

RiscEventTypes.OptOutCancelled Field

The account cancelled a pending opt-out (RISC 1.0 Section 2.8.3).

C#
public const string OptOutCancelled = "https://schemas.openid.net/secevent/risc/event-type/opt-out-cancelled";

Field Value

System.String

RiscEventTypes.OptOutEffective Field

The opt-out took effect (RISC 1.0 Section 2.8.4).

C#
public const string OptOutEffective = "https://schemas.openid.net/secevent/risc/event-type/opt-out-effective";

Field Value

System.String

RiscEventTypes.OptOutInitiated Field

The account initiated an opt-out from RISC event exchanges (RISC 1.0 Section 2.8.2).

C#
public const string OptOutInitiated = "https://schemas.openid.net/secevent/risc/event-type/opt-out-initiated";

Field Value

System.String

RiscEventTypes.RecoveryActivated Field

The account activated a recovery flow (RISC 1.0 Section 2.9).

C#
public const string RecoveryActivated = "https://schemas.openid.net/secevent/risc/event-type/recovery-activated";

Field Value

System.String

RiscEventTypes.RecoveryInformationChanged Field

The account changed some of its recovery information (RISC 1.0 Section 2.10).

C#
public const string RecoveryInformationChanged = "https://schemas.openid.net/secevent/risc/event-type/recovery-information-changed";

Field Value

System.String

RiscEventTypes.SessionsRevoked Field

All sessions of the account have been revoked (RISC 1.0 Section 2.11). Deprecated by the specification in favour of the CAEP session-revoked event; kept so a receiver still understands transmitters that predate the deprecation.

C#
public const string SessionsRevoked = "https://schemas.openid.net/secevent/risc/event-type/sessions-revoked";

Field Value

System.String

Methods

RiscEventTypes.RegisterRiscEvents(this EventTypeRegistry) Method

Registers every RISC event type with its payload model - the whole dictionary in one call, so a receiver cannot end up understanding half a profile.

C#
public static Abblix.SecurityEvents.Events.EventTypeRegistry RegisterRiscEvents(this Abblix.SecurityEvents.Events.EventTypeRegistry registry);

Parameters

registry EventTypeRegistry

The registry events deserialize through.

Returns

EventTypeRegistry