Skip to content

SessionLogoutNotifier Class

Notifies the clients recorded for a session, each through ILogoutNotifier.

C#
public class SessionLogoutNotifier : Abblix.Oidc.Server.Features.LogoutNotification.ISessionLogoutNotifier

Inheritance System.Object → SessionLogoutNotifier

Implements ISessionLogoutNotifier

Constructors

SessionLogoutNotifier(ILogger<SessionLogoutNotifier>, ISessionClientRegistry, IClientInfoProvider, ILogoutNotifier, ITenantCatalog) Constructor

Notifies the clients recorded for a session, each through ILogoutNotifier.

C#
public SessionLogoutNotifier(Microsoft.Extensions.Logging.ILogger<Abblix.Oidc.Server.Features.LogoutNotification.SessionLogoutNotifier> logger, Abblix.Oidc.Server.Features.Storages.ISessionClientRegistry sessionClients, Abblix.Oidc.Server.Features.ClientInformation.IClientInfoProvider clientInfoProvider, Abblix.Oidc.Server.Features.LogoutNotification.ILogoutNotifier logoutNotifier, Abblix.Oidc.Server.Features.MultiTenancy.ITenantCatalog catalog);

Parameters

logger Microsoft.Extensions.Logging.ILogger<SessionLogoutNotifier>

Reports a client whose notification failed.

sessionClients ISessionClientRegistry

Supplies the clients recorded for the session.

clientInfoProvider IClientInfoProvider

Resolves each recorded client.

logoutNotifier ILogoutNotifier

Delivers the notification to one client.

catalog ITenantCatalog

The catalog the tenant was resolved from, which the license counts its issuer by.

Methods

SessionLogoutNotifier.NotifyClientsAsync(TenantDefinition, string, string) Method

Notifies the clients of an ended session.

C#
public 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.

Implements NotifyClientsAsync(TenantDefinition, string, string)

Returns

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