Skip to main content

FrontChannelLogoutService Class

Abblix.Oidc.Server

Abblix.Oidc.Server.Features.LogoutNotification

FrontChannelLogoutService Class

Implements front-channel logout HTML generation in accordance with OpenID Connect Front-Channel Logout 1.0 specification.

public class FrontChannelLogoutService : Abblix.Oidc.Server.Features.LogoutNotification.IFrontChannelLogoutService

Inheritance System.Object → FrontChannelLogoutService

Implements IFrontChannelLogoutService

Methods

FrontChannelLogoutService.GetFrontChannelLogoutResponse(Uri, IList<Uri>) Method

Generates the HTML response for a front-channel logout page. The response contains iframes for each logout URI and an optional redirect script.

public Abblix.Oidc.Server.Features.LogoutNotification.FrontChannelLogoutResponse GetFrontChannelLogoutResponse(System.Uri? postLogoutRedirectUri, System.Collections.Generic.IList<System.Uri> frontChannelLogoutUris);

Parameters

postLogoutRedirectUri System.Uri

The URI to redirect to after all iframes have loaded, or null for no redirect.

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

The list of client logout URIs to embed as iframes.

Implements GetFrontChannelLogoutResponse(Uri, IList<Uri>)

Returns

FrontChannelLogoutResponse
A response containing complete HTML with CSP nonce already injected.