Skip to main content

IAuthenticationCompletionHandler Interface

Abblix.Oidc.Server

Abblix.Oidc.Server.Features.BackChannelAuthentication.Interfaces

IAuthenticationCompletionHandler Interface

Handles CIBA authentication completion by routing to the appropriate delivery mode handler (poll, ping, or push) based on the client's configured backchannel_token_delivery_mode.

public interface IAuthenticationCompletionHandler

Derived
AuthenticationCompletionRouter

Properties

IAuthenticationCompletionHandler.TokenDeliveryModesSupported Property

Token delivery modes (poll, ping, push) for which a handler is registered with the DI container. Used to populate the discovery document's backchannel_token_delivery_modes_supported field so it reflects only modes the host actually supports.

System.Collections.Generic.IEnumerable<string> TokenDeliveryModesSupported { get; }

Property Value

System.Collections.Generic.IEnumerable<System.String>

Methods

IAuthenticationCompletionHandler.CompleteAsync(string, BackChannelAuthenticationRequest, TimeSpan) Method

Completes the authentication process and handles token delivery according to the client's configured delivery mode.

System.Threading.Tasks.Task CompleteAsync(string authenticationRequestId, Abblix.Oidc.Server.Features.BackChannelAuthentication.BackChannelAuthenticationRequest request, System.TimeSpan expiresIn);

Parameters

authenticationRequestId System.String

The auth_req_id identifying the authentication request.

request BackChannelAuthenticationRequest

The authentication request with Authenticated status and authorized grant.

expiresIn System.TimeSpan

How long the authenticated request remains valid for token retrieval.

Returns

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

Remarks

This method automatically:

  • Retrieves client information to determine the delivery mode
  • Selects the appropriate handler (PollModeCompletionHandler, PingModeCompletionHandler, or PushModeCompletionHandler)
  • Delegates to the mode-specific implementation for token delivery