Table of Contents

Class BackChannelLogoutFailureEvent

Namespace
Fdyay.IdentityServer.Events
Assembly
Fdyay.IdentityServer.Core.dll

A relying party could not be told that the session had ended.

public class BackChannelLogoutFailureEvent : Event
Inheritance
BackChannelLogoutFailureEvent
Inherited Members

Remarks

The half UserLogoutSuccessEvent does not cover, and it is the half that matters to whoever has to clean up afterwards. The sign-out succeeded here — the cookie is gone and cannot be brought back — so the notification failure is reported rather than thrown, and until this event existed it was reported only to the log. What it names is a session this server believes is over and a relying party believes is live, which is exactly the state an operator needs to find before a user reports it.

One per relying party, because the notifications are isolated from one another: a client that throws must not abandon the rest of the batch, and a batch that was three-quarters delivered is not the same fact as one that was not delivered at all.

Constructors

BackChannelLogoutFailureEvent(string, string?, string?, string)

A relying party that could not be told its session had ended.

public BackChannelLogoutFailureEvent(string clientId, string? subjectId, string? sessionId, string reason)

Parameters

clientId string

The relying party that was not reached.

subjectId string

Whose session ended, or null where the notification context carried no subject.

sessionId string

The session that ended, where one was known.

reason string

Why the notification failed; carried as Message.

Properties

ClientId

The relying party that was not reached.

public string ClientId { get; }

Property Value

string

SessionId

The session that ended, where one was known — what a relying party would key its cleanup on.

public string? SessionId { get; }

Property Value

string

SubjectId

Whose session ended. Null where the notification context carried no subject.

public string? SubjectId { get; }

Property Value

string