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

## BackChannelLogoutTokenSender Class

Implements the functionality to send logout tokens to clients via back\-channel communication,
adhering to the OpenID Connect back\-channel logout specification\.

```csharp
public class BackChannelLogoutTokenSender : Abblix.Oidc.Server.Features.LogoutNotification.ILogoutTokenSender
```

Inheritance [System\.Object](https://learn.microsoft.com/en-us/dotnet/api/system.object 'System\.Object') → BackChannelLogoutTokenSender

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

## BackChannelLogoutTokenSender\(ILogger\<BackChannelLogoutTokenSender\>, HttpClient\) Constructor {#Abblix.Oidc.Server.Features.LogoutNotification.BackChannelLogoutTokenSender.BackChannelLogoutTokenSender(Microsoft.Extensions.Logging.ILogger_Abblix.Oidc.Server.Features.LogoutNotification.BackChannelLogoutTokenSender_,System.Net.Http.HttpClient)}

Implements the functionality to send logout tokens to clients via back\-channel communication,
adhering to the OpenID Connect back\-channel logout specification\.

```csharp
public BackChannelLogoutTokenSender(Microsoft.Extensions.Logging.ILogger<Abblix.Oidc.Server.Features.LogoutNotification.BackChannelLogoutTokenSender> logger, System.Net.Http.HttpClient backChannelHttpClient);
```
#### Parameters

###### `logger` [Microsoft\.Extensions\.Logging\.ILogger&lt;](https://learn.microsoft.com/en-us/dotnet/api/microsoft.extensions.logging.ilogger-1 'Microsoft\.Extensions\.Logging\.ILogger\`1')[BackChannelLogoutTokenSender](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Features.LogoutNotification.BackChannelLogoutTokenSender 'Abblix\.Oidc\.Server\.Features\.LogoutNotification\.BackChannelLogoutTokenSender')[&gt;](https://learn.microsoft.com/en-us/dotnet/api/microsoft.extensions.logging.ilogger-1 'Microsoft\.Extensions\.Logging\.ILogger\`1') {#Abblix.Oidc.Server.Features.LogoutNotification.BackChannelLogoutTokenSender.BackChannelLogoutTokenSender(Microsoft.Extensions.Logging.ILogger_Abblix.Oidc.Server.Features.LogoutNotification.BackChannelLogoutTokenSender_,System.Net.Http.HttpClient).logger}

The logger to use for logging information about the logout token sending process\.

###### `backChannelHttpClient` [System\.Net\.Http\.HttpClient](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpclient 'System\.Net\.Http\.HttpClient') {#Abblix.Oidc.Server.Features.LogoutNotification.BackChannelLogoutTokenSender.BackChannelLogoutTokenSender(Microsoft.Extensions.Logging.ILogger_Abblix.Oidc.Server.Features.LogoutNotification.BackChannelLogoutTokenSender_,System.Net.Http.HttpClient).backChannelHttpClient}

The HTTP client used for sending the logout tokens to clients over the
            back channel\.
### Methods

## BackChannelLogoutTokenSender\.SendBackChannelLogoutAsync\(ClientInfo, EncodedJsonWebToken\) Method {#Abblix.Oidc.Server.Features.LogoutNotification.BackChannelLogoutTokenSender.SendBackChannelLogoutAsync(Abblix.Oidc.Server.Features.ClientInformation.ClientInfo,Abblix.Oidc.Server.Features.Tokens.EncodedJsonWebToken)}

Asynchronously sends a logout token directly to a client over the back channel\.

```csharp
public System.Threading.Tasks.Task SendBackChannelLogoutAsync(Abblix.Oidc.Server.Features.ClientInformation.ClientInfo clientInfo, Abblix.Oidc.Server.Features.Tokens.EncodedJsonWebToken logoutToken);
```
#### Parameters

###### `clientInfo` [ClientInfo](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Features.ClientInformation.ClientInfo 'Abblix\.Oidc\.Server\.Features\.ClientInformation\.ClientInfo') {#Abblix.Oidc.Server.Features.LogoutNotification.BackChannelLogoutTokenSender.SendBackChannelLogoutAsync(Abblix.Oidc.Server.Features.ClientInformation.ClientInfo,Abblix.Oidc.Server.Features.Tokens.EncodedJsonWebToken).clientInfo}

Information about the client to which the logout token is sent\.

###### `logoutToken` [EncodedJsonWebToken](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Features.Tokens.EncodedJsonWebToken 'Abblix\.Oidc\.Server\.Features\.Tokens\.EncodedJsonWebToken') {#Abblix.Oidc.Server.Features.LogoutNotification.BackChannelLogoutTokenSender.SendBackChannelLogoutAsync(Abblix.Oidc.Server.Features.ClientInformation.ClientInfo,Abblix.Oidc.Server.Features.Tokens.EncodedJsonWebToken).logoutToken}

The logout token to be sent\.

Implements [SendBackChannelLogoutAsync\(ClientInfo, EncodedJsonWebToken\)](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Features.LogoutNotification.ILogoutTokenSender#Abblix.Oidc.Server.Features.LogoutNotification.ILogoutTokenSender.SendBackChannelLogoutAsync(Abblix.Oidc.Server.Features.ClientInformation.ClientInfo,Abblix.Oidc.Server.Features.Tokens.EncodedJsonWebToken) 'Abblix\.Oidc\.Server\.Features\.LogoutNotification\.ILogoutTokenSender\.SendBackChannelLogoutAsync\(Abblix\.Oidc\.Server\.Features\.ClientInformation\.ClientInfo, Abblix\.Oidc\.Server\.Features\.Tokens\.EncodedJsonWebToken\)')

#### Returns
[System\.Threading\.Tasks\.Task](https://learn.microsoft.com/en-us/dotnet/api/system.threading.tasks.task 'System\.Threading\.Tasks\.Task')  
A task representing the asynchronous operation of sending the logout token\.

### Remarks
This method constructs a back\-channel HTTP POST request containing the logout token
and sends it to the client's back\-channel logout URI\.
It ensures that the HTTP response indicates successful delivery of the logout token\.
