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
UserIdstringThe unique identifier of the user.
EmailstringThe verified email address.
VerifiedAtDateTimeOffsetThe timestamp when the email was verified.
Properties
The verified 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
UserId
The unique identifier of the user.
public string UserId { get; init; }
Property Value
VerifiedAt
The timestamp when the email was verified.
public DateTimeOffset VerifiedAt { get; init; }