Class UserUnlockedEvent
- Namespace
- Compendium.Core.Domain.Events.Integration
- Assembly
- Compendium.Core.dll
Integration event raised when a user's account is unlocked.
public sealed record UserUnlockedEvent : IntegrationEventBase, IIntegrationEvent, IEquatable<IntegrationEventBase>, IEquatable<UserUnlockedEvent>
- Inheritance
-
UserUnlockedEvent
- Implements
- Inherited Members
Constructors
UserUnlockedEvent(string, string, DateTimeOffset)
Integration event raised when a user's account is unlocked.
public UserUnlockedEvent(string UserId, string Email, DateTimeOffset UnlockedAt)
Parameters
UserIdstringThe unique identifier of the user.
EmailstringThe user's email address.
UnlockedAtDateTimeOffsetThe timestamp when the account was unlocked.
Properties
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
UnlockedAt
The timestamp when the account was unlocked.
public DateTimeOffset UnlockedAt { get; init; }
Property Value
UserId
The unique identifier of the user.
public string UserId { get; init; }