Table of Contents

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

UserId string

The unique identifier of the user.

Email string

The user's email address.

UnlockedAt DateTimeOffset

The timestamp when the account was unlocked.

Properties

Email

The user's email address.

public string Email { get; init; }

Property Value

string

EventType

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

public override string EventType { get; }

Property Value

string

UnlockedAt

The timestamp when the account was unlocked.

public DateTimeOffset UnlockedAt { get; init; }

Property Value

DateTimeOffset

UserId

The unique identifier of the user.

public string UserId { get; init; }

Property Value

string