Skip to main content

AuthenticationCompletionHandler Class

Abblix.Oidc.Server

Abblix.Oidc.Server.Features.BackChannelAuthentication.AuthenticationNotifiers

AuthenticationCompletionHandler Class

Abstract base class for CIBA authentication completion handlers. Provides common functionality for validation, status management, and delivery orchestration. Derived classes implement specific token delivery modes (poll, ping, push) per CIBA specification.

public abstract class AuthenticationCompletionHandler

Inheritance System.Object → AuthenticationCompletionHandler

Derived
PingModeCompletionHandler
PollModeCompletionHandler
PushModeCompletionHandler

Methods

AuthenticationCompletionHandler.CompleteAuthenticationAsync(string, BackChannelAuthenticationRequest, ClientInfo, TimeSpan) Method

Completes the authentication process by marking the request as authenticated and delegating to the mode-specific delivery implementation.

public System.Threading.Tasks.Task CompleteAuthenticationAsync(string authenticationRequestId, Abblix.Oidc.Server.Features.BackChannelAuthentication.BackChannelAuthenticationRequest request, Abblix.Oidc.Server.Features.ClientInformation.ClientInfo clientInfo, System.TimeSpan expiresIn);

Parameters

authenticationRequestId System.String

The auth_req_id identifying the authentication request.

request BackChannelAuthenticationRequest

The authentication request to mark as authenticated.

clientInfo ClientInfo

Client information including delivery mode configuration.

expiresIn System.TimeSpan

How long the authenticated request remains valid.

Returns

System.Threading.Tasks.Task
A task representing the asynchronous authentication completion operation.

Remarks

This method:

  1. Sets the request status to Authenticated
  2. Delegates to HandleDeliveryAsync for mode-specific token delivery (poll/ping/push)

Called by AuthenticationCompletionRouter after determining the appropriate delivery mode handler.