Table of Contents

Class UserLoggedOutEvent

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

Integration event raised when a user logs out.

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

Constructors

UserLoggedOutEvent(string, string, DateTimeOffset, string?)

Integration event raised when a user logs out.

public UserLoggedOutEvent(string UserId, string Email, DateTimeOffset LogoutAt, string? SessionId)

Parameters

UserId string

The unique identifier of the user.

Email string

The user's email address.

LogoutAt DateTimeOffset

The timestamp of the logout.

SessionId string

The session identifier that was terminated.

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

LogoutAt

The timestamp of the logout.

public DateTimeOffset LogoutAt { get; init; }

Property Value

DateTimeOffset

SessionId

The session identifier that was terminated.

public string? SessionId { get; init; }

Property Value

string

UserId

The unique identifier of the user.

public string UserId { get; init; }

Property Value

string