HttpNotificationDeliveryService Class
Abblix.Oidc.Server
Abblix.Oidc.Server.Features.BackChannelAuthentication
HttpNotificationDeliveryService Class
HTTP-based implementation of backchannel notification service for CIBA ping and push modes. Sends HTTP POST notifications to client endpoints with authentication request status updates or token delivery.
public class HttpNotificationDeliveryService : Abblix.Oidc.Server.Features.BackChannelAuthentication.Interfaces.INotificationDeliveryService
Inheritance System.Object → HttpNotificationDeliveryService
Implements INotificationDeliveryService
Constructors
HttpNotificationDeliveryService(ILogger<HttpNotificationDeliveryService>, IHttpClientFactory) Constructor
HTTP-based implementation of backchannel notification service for CIBA ping and push modes. Sends HTTP POST notifications to client endpoints with authentication request status updates or token delivery.
public HttpNotificationDeliveryService(Microsoft.Extensions.Logging.ILogger<Abblix.Oidc.Server.Features.BackChannelAuthentication.HttpNotificationDeliveryService> logger, System.Net.Http.IHttpClientFactory httpClientFactory);
Parameters
logger Microsoft.Extensions.Logging.ILogger<HttpNotificationDeliveryService>
Logger for tracking notification attempts and failures.
httpClientFactory System.Net.Http.IHttpClientFactory
Factory for creating HTTP clients.
Methods
HttpNotificationDeliveryService.SendAsync(Uri, string, IBackChannelNotificationRequest, string) Method
Sends an HTTP POST notification to the client's registered endpoint.
public System.Threading.Tasks.Task<bool> SendAsync(System.Uri clientNotificationEndpoint, string clientNotificationToken, Abblix.Oidc.Server.Features.BackChannelAuthentication.Interfaces.IBackChannelNotificationRequest payload, string mode);
Parameters
clientNotificationEndpoint System.Uri
The client's registered notification endpoint URL.
clientNotificationToken System.String
Bearer token for authenticating the notification request.
payload IBackChannelNotificationRequest
The notification payload to send.
mode System.String
The CIBA mode (ping or push) for logging purposes.
Implements SendAsync(Uri, string, IBackChannelNotificationRequest, string)
Returns
System.Threading.Tasks.Task<System.Boolean>
true if the endpoint returned a success status; otherwise false.