Skip to main content

BackChannelAuthenticationHandler Class

Abblix.Oidc.Server

Abblix.Oidc.Server.Endpoints.BackChannelAuthentication

BackChannelAuthenticationHandler Class

Default IBackChannelAuthenticationHandler implementation that drives the CIBA endpoint pipeline as fetch (request object resolution) -> validation -> processing, short-circuiting on the first error so that subsequent stages never see invalid input.

public class BackChannelAuthenticationHandler : Abblix.Oidc.Server.Endpoints.BackChannelAuthentication.Interfaces.IBackChannelAuthenticationHandler

Inheritance System.Object → BackChannelAuthenticationHandler

Implements IBackChannelAuthenticationHandler

Constructors

BackChannelAuthenticationHandler(IBackChannelAuthenticationRequestFetcher, IBackChannelAuthenticationRequestValidator, IBackChannelAuthenticationRequestProcessor) Constructor

Default IBackChannelAuthenticationHandler implementation that drives the CIBA endpoint pipeline as fetch (request object resolution) -> validation -> processing, short-circuiting on the first error so that subsequent stages never see invalid input.

public BackChannelAuthenticationHandler(Abblix.Oidc.Server.Endpoints.BackChannelAuthentication.RequestFetching.IBackChannelAuthenticationRequestFetcher fetcher, Abblix.Oidc.Server.Endpoints.BackChannelAuthentication.Interfaces.IBackChannelAuthenticationRequestValidator validator, Abblix.Oidc.Server.Endpoints.BackChannelAuthentication.Interfaces.IBackChannelAuthenticationRequestProcessor processor);

Parameters

fetcher IBackChannelAuthenticationRequestFetcher

Resolves the effective request, in particular substituting parameters carried in a signed Request Object per CIBA Core 1.0 §7.1.1.

validator IBackChannelAuthenticationRequestValidator

Validates the resolved request against client metadata and protocol rules.

processor IBackChannelAuthenticationRequestProcessor

Persists the authentication request and produces the auth_req_id/expires_in/interval response.

Methods

BackChannelAuthenticationHandler.HandleAsync(BackChannelAuthenticationRequest, ClientRequest) Method

Runs the fetch-validate-process pipeline for a CIBA request and returns the resulting success payload or an OidcError from the first failing stage.

public System.Threading.Tasks.Task<Abblix.Utils.Result<Abblix.Oidc.Server.Model.BackChannelAuthenticationSuccess,Abblix.Oidc.Server.Common.OidcError>> HandleAsync(Abblix.Oidc.Server.Model.BackChannelAuthenticationRequest request, Abblix.Oidc.Server.Model.ClientRequest clientRequest);

Parameters

request BackChannelAuthenticationRequest

The parsed CIBA authentication request as received on the wire.

clientRequest ClientRequest

Transport metadata used for client authentication and validation.

Implements HandleAsync(BackChannelAuthenticationRequest, ClientRequest)

Returns

System.Threading.Tasks.Task<Abblix.Utils.Result<BackChannelAuthenticationSuccess,OidcError>>