Zum Inhalt springen
Diese Seite wurde noch nicht übersetzt.

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.

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

Inheritance System.Object → AuthenticationCompletionHandler → PollModeCompletionHandler

Constructors

PollModeCompletionHandler(ILogger<PollModeCompletionHandler>, IBackChannelRequestStorage, ISubjectTypeConverter, 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.

C#
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.PairwiseIdentifiers.ISubjectTypeConverter subjectTypeConverter, 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.

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.

statusNotifier IBackChannelLongPollingService

Wakes a client waiting on a long poll. Nullable because a deployment may register none, NOT because long-polling is off: the default registration is unconditional, so this is normally present even where the setting is disabled - the waiting is what the setting decides, and a notification nobody waits for is a no-op.