Skip to main content

PollModeCompletionHandler Class

Abblix.Oidc.Server

Abblix.Oidc.Server.Features.BackChannelAuthentication.AuthenticationNotifiers

PollModeCompletionHandler Class

Handles CIBA poll mode token delivery where the client periodically polls the token endpoint to retrieve tokens. In poll mode, the authenticated request is stored and remains available until the client retrieves it or it expires. Supports optional long-polling to reduce polling frequency and improve efficiency.

public class PollModeCompletionHandler : Abblix.Oidc.Server.Features.BackChannelAuthentication.AuthenticationNotifiers.AuthenticationCompletionHandler

Inheritance System.ObjectAuthenticationCompletionHandler → PollModeCompletionHandler

Constructors

PollModeCompletionHandler(ILogger<PollModeCompletionHandler>, IBackChannelRequestStorage, IBackChannelLongPollingService) Constructor

Handles CIBA poll mode token delivery where the client periodically polls the token endpoint to retrieve tokens. In poll mode, the authenticated request is stored and remains available until the client retrieves it or it expires. Supports optional long-polling to reduce polling frequency and improve efficiency.

public PollModeCompletionHandler(Microsoft.Extensions.Logging.ILogger<Abblix.Oidc.Server.Features.BackChannelAuthentication.AuthenticationNotifiers.PollModeCompletionHandler> logger, Abblix.Oidc.Server.Features.BackChannelAuthentication.Interfaces.IBackChannelRequestStorage storage, Abblix.Oidc.Server.Features.BackChannelAuthentication.Interfaces.IBackChannelLongPollingService? statusNotifier);

Parameters

logger Microsoft.Extensions.Logging.ILogger<PollModeCompletionHandler>

Logger for tracking notification events.

storage IBackChannelRequestStorage

Storage for authentication requests.

statusNotifier IBackChannelLongPollingService

Optional service for notifying long-polling clients of status changes. Null when long-polling is disabled.