Skip to content

ISessionLogoutNotifier Interface

Tells every client that signed in to a session that the session has ended.

C#
public interface ISessionLogoutNotifier

Derived
↳ SessionLogoutNotifier

Remarks

The clients are the ones ISessionClientRegistry recorded for the session, and each is notified through ILogoutNotifier. A client whose notification fails is logged and the others are still notified, so an unreachable client cannot fail the logout it is being told about.

Methods

ISessionLogoutNotifier.NotifyClientsAsync(TenantDefinition, string, string) Method

Notifies the clients of an ended session.

C#
System.Threading.Tasks.Task<Abblix.Oidc.Server.Features.LogoutNotification.LogoutContext> NotifyClientsAsync(Abblix.Oidc.Server.Features.MultiTenancy.TenantDefinition tenant, string sessionId, string subject);

Parameters

tenant TenantDefinition

The tenant the request is served at.

sessionId System.String

The session that ended.

subject System.String

The end user the session belonged to.

Returns

System.Threading.Tasks.Task<LogoutContext>
The logout context the notifiers filled in, whose front-channel URIs the caller renders to the user agent.