Table of Contents

Class UserCreatedEvent

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

Integration event raised when a user is created in the identity system.

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

Constructors

UserCreatedEvent(string, string, string?, string?, string?, bool)

Integration event raised when a user is created in the identity system.

public UserCreatedEvent(string UserId, string Email, string? Username, string? FirstName, string? LastName, bool IsEmailVerified)

Parameters

UserId string

The unique identifier of the user.

Email string

The user's email address.

Username string

The user's username.

FirstName string

The user's first name.

LastName string

The user's last name.

IsEmailVerified bool

Whether the user's email is verified.

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

FirstName

The user's first name.

public string? FirstName { get; init; }

Property Value

string

IsEmailVerified

Whether the user's email is verified.

public bool IsEmailVerified { get; init; }

Property Value

bool

LastName

The user's last name.

public string? LastName { get; init; }

Property Value

string

UserId

The unique identifier of the user.

public string UserId { get; init; }

Property Value

string

Username

The user's username.

public string? Username { get; init; }

Property Value

string