Table of Contents

Class UserMfaEnabledEvent

Namespace
Compendium.Core.Domain.Events.Integration
Assembly
Compendium.Core.dll

Integration event raised when multi-factor authentication is enabled for a user.

public sealed record UserMfaEnabledEvent : IntegrationEventBase, IIntegrationEvent, IEquatable<IntegrationEventBase>, IEquatable<UserMfaEnabledEvent>
Inheritance
UserMfaEnabledEvent
Implements
Inherited Members

Constructors

UserMfaEnabledEvent(string, string, string, DateTimeOffset)

Integration event raised when multi-factor authentication is enabled for a user.

public UserMfaEnabledEvent(string UserId, string Email, string MfaType, DateTimeOffset EnabledAt)

Parameters

UserId string

The unique identifier of the user.

Email string

The user's email address.

MfaType string

The type of MFA enabled (e.g., TOTP, SMS, WebAuthn).

EnabledAt DateTimeOffset

The timestamp when MFA was enabled.

Properties

Email

The user's email address.

public string Email { get; init; }

Property Value

string

EnabledAt

The timestamp when MFA was enabled.

public DateTimeOffset EnabledAt { get; init; }

Property Value

DateTimeOffset

EventType

Gets the name of the event type for serialization and routing purposes.

public override string EventType { get; }

Property Value

string

MfaType

The type of MFA enabled (e.g., TOTP, SMS, WebAuthn).

public string MfaType { get; init; }

Property Value

string

UserId

The unique identifier of the user.

public string UserId { get; init; }

Property Value

string