Table of Contents

Class UserEmailVerifiedEvent

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

Integration event raised when a user's email is verified.

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

Constructors

UserEmailVerifiedEvent(string, string, DateTimeOffset)

Integration event raised when a user's email is verified.

public UserEmailVerifiedEvent(string UserId, string Email, DateTimeOffset VerifiedAt)

Parameters

UserId string

The unique identifier of the user.

Email string

The verified email address.

VerifiedAt DateTimeOffset

The timestamp when the email was verified.

Properties

Email

The verified 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

UserId

The unique identifier of the user.

public string UserId { get; init; }

Property Value

string

VerifiedAt

The timestamp when the email was verified.

public DateTimeOffset VerifiedAt { get; init; }

Property Value

DateTimeOffset