Skip to main content

BackChannelLogoutOptions Class

Abblix.Oidc.Server

Abblix.Oidc.Server.Common.Configuration

BackChannelLogoutOptions Class

Back-channel logout settings for a single client, as defined by the OpenID Connect Back-Channel Logout 1.0 specification. The OP delivers a signed logout token directly (server-to-server) to the configured endpoint when an end-session occurs, bypassing the user agent.

public record BackChannelLogoutOptions : System.IEquatable<Abblix.Oidc.Server.Common.Configuration.BackChannelLogoutOptions>

Inheritance System.Object → BackChannelLogoutOptions

Implements System.IEquatable<BackChannelLogoutOptions>

Constructors

BackChannelLogoutOptions(Uri, bool) Constructor

Back-channel logout settings for a single client, as defined by the OpenID Connect Back-Channel Logout 1.0 specification. The OP delivers a signed logout token directly (server-to-server) to the configured endpoint when an end-session occurs, bypassing the user agent.

public BackChannelLogoutOptions(System.Uri Uri, bool RequiresSessionId=true);

Parameters

Uri System.Uri

The client's back-channel logout endpoint that receives the logout token.

RequiresSessionId System.Boolean

When true, the logout token must include the sid claim so the client can scope the invalidation to a specific session.

Properties

BackChannelLogoutOptions.LogoutTokenExpiresIn Property

Lifetime of the issued logout token. Kept short to limit the replay window for the token, since back-channel logout tokens cross the network as bearer credentials.

public System.TimeSpan LogoutTokenExpiresIn { get; set; }

Property Value

System.TimeSpan

BackChannelLogoutOptions.RequiresSessionId Property

When true, the issued logout token must carry the sid claim so the client can invalidate the matching session rather than every session of the user.

public bool RequiresSessionId { get; init; }

Property Value

System.Boolean

BackChannelLogoutOptions.Uri Property

The client's back-channel logout endpoint that receives the signed logout token.

public System.Uri Uri { get; init; }

Property Value

System.Uri