Skip to main content

LogoutContext Class

Abblix.Oidc.Server

Abblix.Oidc.Server.Features.LogoutNotification

LogoutContext Class

Represents the context for a logout operation, containing details necessary for processing the logout. This context includes the session identifier, the subject identifier of the user, the issuer of the authentication token, and a collection of URIs for front-channel logout notifications.

public record LogoutContext : System.IEquatable<Abblix.Oidc.Server.Features.LogoutNotification.LogoutContext>

Inheritance System.Object → LogoutContext

Implements System.IEquatable<LogoutContext>

Constructors

LogoutContext(string, string, string) Constructor

Represents the context for a logout operation, containing details necessary for processing the logout. This context includes the session identifier, the subject identifier of the user, the issuer of the authentication token, and a collection of URIs for front-channel logout notifications.

public LogoutContext(string SessionId, string SubjectId, string Issuer);

Parameters

SessionId System.String
SubjectId System.String
Issuer System.String

Properties

LogoutContext.FrontChannelLogoutRequestUris Property

A list of URIs for sending front-channel logout requests. These URIs are intended for notifying relevant parties of the logout event through the front-channel, enabling the propagation of logout notifications to clients or services that need to respond to the logout event.

public System.Collections.Generic.IList<System.Uri> FrontChannelLogoutRequestUris { get; init; }

Property Value

System.Collections.Generic.IList<System.Uri>

LogoutContext.Issuer Property

The issuer of the logout event. This is typically represented by the URL of the authentication server that issued the original authentication token, allowing the identification of the authority responsible for the user's authentication.

public string Issuer { get; init; }

Property Value

System.String

LogoutContext.SessionId Property

The session ID associated with the logout event. This identifier is typically used to identify and terminate the specific session that the logout request pertains to.

public string SessionId { get; init; }

Property Value

System.String

LogoutContext.SubjectId Property

The subject ID of the user initiating the logout. This identifier usually corresponds to the unique identifier of the user within the identity system, facilitating the identification of the user across different services or components.

public string SubjectId { get; init; }

Property Value

System.String