PingModeCompletionHandler Class
Handles CIBA ping mode token delivery where the client receives a notification that authentication is complete and can then retrieve tokens from the token endpoint. In ping mode, the authenticated request is stored and a notification is sent to the client's registered endpoint.
public class PingModeCompletionHandler : Abblix.Oidc.Server.Features.BackChannelAuthentication.AuthenticationNotifiers.AuthenticationCompletionHandlerInheritance System.Object → AuthenticationCompletionHandler → PingModeCompletionHandler
Constructors
PingModeCompletionHandler(ILogger<PingModeCompletionHandler>, IBackChannelRequestStorage, ISubjectTypeConverter, INotificationDeliveryService, IBackChannelLongPollingService) Constructor
Handles CIBA ping mode token delivery where the client receives a notification that authentication is complete and can then retrieve tokens from the token endpoint. In ping mode, the authenticated request is stored and a notification is sent to the client's registered endpoint.
public PingModeCompletionHandler(Microsoft.Extensions.Logging.ILogger<Abblix.Oidc.Server.Features.BackChannelAuthentication.AuthenticationNotifiers.PingModeCompletionHandler> logger, Abblix.Oidc.Server.Features.BackChannelAuthentication.Interfaces.IBackChannelRequestStorage storage, Abblix.Oidc.Server.Features.PairwiseIdentifiers.ISubjectTypeConverter subjectTypeConverter, Abblix.Oidc.Server.Features.BackChannelAuthentication.Interfaces.INotificationDeliveryService notificationService, Abblix.Oidc.Server.Features.BackChannelAuthentication.Interfaces.IBackChannelLongPollingService? statusNotifier=null);Parameters
logger Microsoft.Extensions.Logging.ILogger<PingModeCompletionHandler>
Logger for tracking notification events.
storage IBackChannelRequestStorage
Storage for authentication requests.
subjectTypeConverter ISubjectTypeConverter
Seals a session's subject the way the requesting client sees it, so the end user who authenticated can be compared against the one the request named.
notificationService INotificationDeliveryService
Service for sending ping notifications.
statusNotifier IBackChannelLongPollingService
Wakes a client waiting on a long poll. A ping client polls the token endpoint the same way a poll client does, and the long-poll gate does not read the delivery mode - so one that polls before its notification arrives waits, and is woken from here.