#### [Abblix\.Oidc\.Server](https://www.abblix.com/docs/api/abblix-oidc-server 'index')
### [Abblix\.Oidc\.Server\.Features\.LogoutNotification](https://www.abblix.com/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Features.LogoutNotification 'Abblix\.Oidc\.Server\.Features\.LogoutNotification')

## ISessionLogoutNotifier Interface

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

```csharp
public interface ISessionLogoutNotifier
```

Derived  
↳ [SessionLogoutNotifier](https://www.abblix.com/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Features.LogoutNotification.SessionLogoutNotifier 'Abblix\.Oidc\.Server\.Features\.LogoutNotification\.SessionLogoutNotifier')

### Remarks
The clients are the ones [ISessionClientRegistry](https://www.abblix.com/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Features.Storages.ISessionClientRegistry 'Abblix\.Oidc\.Server\.Features\.Storages\.ISessionClientRegistry') recorded for the session, and each is
notified through [ILogoutNotifier](https://www.abblix.com/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Features.LogoutNotification.ILogoutNotifier 'Abblix\.Oidc\.Server\.Features\.LogoutNotification\.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 {#Abblix.Oidc.Server.Features.LogoutNotification.ISessionLogoutNotifier.NotifyClientsAsync(Abblix.Oidc.Server.Features.MultiTenancy.TenantDefinition,string,string)}

Notifies the clients of an ended session\.

```csharp
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](https://www.abblix.com/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Features.MultiTenancy.TenantDefinition 'Abblix\.Oidc\.Server\.Features\.MultiTenancy\.TenantDefinition') {#Abblix.Oidc.Server.Features.LogoutNotification.ISessionLogoutNotifier.NotifyClientsAsync(Abblix.Oidc.Server.Features.MultiTenancy.TenantDefinition,string,string).tenant}

The tenant the request is served at\.

###### `sessionId` [System\.String](https://learn.microsoft.com/en-us/dotnet/api/system.string 'System\.String') {#Abblix.Oidc.Server.Features.LogoutNotification.ISessionLogoutNotifier.NotifyClientsAsync(Abblix.Oidc.Server.Features.MultiTenancy.TenantDefinition,string,string).sessionId}

The session that ended\.

###### `subject` [System\.String](https://learn.microsoft.com/en-us/dotnet/api/system.string 'System\.String') {#Abblix.Oidc.Server.Features.LogoutNotification.ISessionLogoutNotifier.NotifyClientsAsync(Abblix.Oidc.Server.Features.MultiTenancy.TenantDefinition,string,string).subject}

The end user the session belonged to\.

#### Returns
[System\.Threading\.Tasks\.Task&lt;](https://learn.microsoft.com/en-us/dotnet/api/system.threading.tasks.task-1 'System\.Threading\.Tasks\.Task\`1')[LogoutContext](https://www.abblix.com/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Features.LogoutNotification.LogoutContext 'Abblix\.Oidc\.Server\.Features\.LogoutNotification\.LogoutContext')[&gt;](https://learn.microsoft.com/en-us/dotnet/api/system.threading.tasks.task-1 'System\.Threading\.Tasks\.Task\`1')  
The logout context the notifiers filled in, whose front\-channel URIs the caller renders to the user agent\.
