Class UserMfaDisabledEvent
- Namespace
- Compendium.Core.Domain.Events.Integration
- Assembly
- Compendium.Core.dll
Integration event raised when multi-factor authentication is disabled for a user.
public sealed record UserMfaDisabledEvent : IntegrationEventBase, IIntegrationEvent, IEquatable<IntegrationEventBase>, IEquatable<UserMfaDisabledEvent>
- Inheritance
-
UserMfaDisabledEvent
- Implements
- Inherited Members
Constructors
UserMfaDisabledEvent(string, string, string, DateTimeOffset)
Integration event raised when multi-factor authentication is disabled for a user.
public UserMfaDisabledEvent(string UserId, string Email, string MfaType, DateTimeOffset DisabledAt)
Parameters
UserIdstringThe unique identifier of the user.
EmailstringThe user's email address.
MfaTypestringThe type of MFA disabled.
DisabledAtDateTimeOffsetThe timestamp when MFA was disabled.
Properties
DisabledAt
The timestamp when MFA was disabled.
public DateTimeOffset DisabledAt { get; init; }
Property Value
The user's email address.
public string Email { get; init; }
Property Value
EventType
Gets the name of the event type for serialization and routing purposes.
public override string EventType { get; }
Property Value
MfaType
The type of MFA disabled.
public string MfaType { get; init; }
Property Value
UserId
The unique identifier of the user.
public string UserId { get; init; }