Skip to content

NoLogoutNotifier Class

The member a deployment that serves no logout channel is left with: it notifies nobody and reports every channel as unsupported, so the discovery document describes that deployment rather than the library.

C#
public class NoLogoutNotifier : Abblix.Oidc.Server.Features.LogoutNotification.ILogoutNotifier

Inheritance System.Object → NoLogoutNotifier

Implements ILogoutNotifier

Remarks

Each logout channel is the host's own choice, so the family may hold no channel at all. An empty family composes to nothing, and everything resolving ILogoutNotifier - the configuration endpoint among them - would then fail to resolve instead of answering that no channel is served. This member keeps the family non-empty, and contributes no support to the composite, which reports a channel as supported when any member does.

Properties

NoLogoutNotifier.BackChannelLogoutSessionSupported Property

Indicates whether the logout notifier supports back-channel logout session management, facilitating the management of user sessions during a back-channel logout.

C#
public bool BackChannelLogoutSessionSupported { get; }

Implements BackChannelLogoutSessionSupported

Property Value

System.Boolean

NoLogoutNotifier.BackChannelLogoutSupported Property

Indicates whether the logout notifier supports back-channel logout, enabling server-to-server communication to notify clients of logout events.

C#
public bool BackChannelLogoutSupported { get; }

Implements BackChannelLogoutSupported

Property Value

System.Boolean

NoLogoutNotifier.FrontChannelLogoutSessionSupported Property

Indicates whether the logout notifier supports front-channel logout session management, allowing for more precise control over session termination during a front-channel logout.

C#
public bool FrontChannelLogoutSessionSupported { get; }

Implements FrontChannelLogoutSessionSupported

Property Value

System.Boolean

NoLogoutNotifier.FrontChannelLogoutSupported Property

Indicates whether the logout notifier supports front-channel logout, enabling clients to be notified of logout events via user-agent redirection.

C#
public bool FrontChannelLogoutSupported { get; }

Implements FrontChannelLogoutSupported

Property Value

System.Boolean

Methods

NoLogoutNotifier.NotifyClientAsync(TenantDefinition, ClientInfo, LogoutContext) Method

Asynchronously notifies a client about a logout event, providing the client with information necessary to process the logout on its end.

C#
public System.Threading.Tasks.Task NotifyClientAsync(Abblix.Oidc.Server.Features.MultiTenancy.TenantDefinition tenant, Abblix.Oidc.Server.Features.ClientInformation.ClientInfo clientInfo, Abblix.Oidc.Server.Features.LogoutNotification.LogoutContext logoutContext);

Parameters

tenant TenantDefinition

The tenant the request is served at.

clientInfo ClientInfo

The information about the client that needs to be notified. This includes details such as the client ID and the logout endpoint URI.

logoutContext LogoutContext

The context of the logout event, including any relevant information such as the session ID and the subject ID of the user. This context is essential for clients to understand the scope and reason for the logout, enabling them to perform appropriate actions, such as clearing session data or redirecting the user.

Implements NotifyClientAsync(TenantDefinition, ClientInfo, LogoutContext)

Returns

System.Threading.Tasks.Task
A System.Threading.Tasks.Task representing the asynchronous operation of notifying the client. The task completes when the notification has been successfully sent to the client or an attempt has been made to notify the client.

Remarks

Implementations of this interface should handle any exceptions that occur during the notification process and ensure that all clients are notified as configured, regardless of the mechanism used (front-channel or back-channel).