Skip to main content

FrontChannelLogoutNotifier Class

Abblix.Oidc.Server

Abblix.Oidc.Server.Features.LogoutNotification

FrontChannelLogoutNotifier Class

Implements OpenID Connect Front-Channel Logout 1.0 notification by collecting per-client logout URIs (with iss and sid appended when the client requires session identifiers) into the LogoutContext. The end-session endpoint later renders these URIs as iframes so each client receives the logout signal through the user agent.

public class FrontChannelLogoutNotifier : Abblix.Oidc.Server.Features.LogoutNotification.ILogoutNotifier

Inheritance System.Object → FrontChannelLogoutNotifier

Implements ILogoutNotifier

Properties

FrontChannelLogoutNotifier.BackChannelLogoutSessionSupported Property

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

public bool BackChannelLogoutSessionSupported { get; }

Implements BackChannelLogoutSessionSupported

Property Value

System.Boolean

FrontChannelLogoutNotifier.BackChannelLogoutSupported Property

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

public bool BackChannelLogoutSupported { get; }

Implements BackChannelLogoutSupported

Property Value

System.Boolean

FrontChannelLogoutNotifier.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.

public bool FrontChannelLogoutSessionSupported { get; }

Implements FrontChannelLogoutSessionSupported

Property Value

System.Boolean

FrontChannelLogoutNotifier.FrontChannelLogoutSupported Property

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

public bool FrontChannelLogoutSupported { get; }

Implements FrontChannelLogoutSupported

Property Value

System.Boolean

Methods

FrontChannelLogoutNotifier.NotifyClientAsync(ClientInfo, LogoutContext) Method

Builds the client's front-channel logout URI (appending iss and sid when the client's frontchannel_logout_session_required is set) and adds it to FrontChannelLogoutRequestUris for later iframe rendering. Throws System.InvalidOperationException if the client requires sid but the context has no session identifier.

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

Parameters

clientInfo ClientInfo

Information about the client that needs to be notified of the logout event.

logoutContext LogoutContext

Contextual information about the logout event, including the session ID and issuer.

Implements NotifyClientAsync(ClientInfo, LogoutContext)

Returns

System.Threading.Tasks.Task