Skip to main content

CompositeRequestFetcher Class

Abblix.Oidc.Server

Abblix.Oidc.Server.Endpoints.BackChannelAuthentication.RequestFetching

CompositeRequestFetcher Class

Chains multiple IBackChannelAuthenticationRequestFetcher instances, feeding each one's output into the next so that distinct sources or formats (for example, the signed Request Object) can progressively enrich the request. Returns the first failure without invoking the remaining fetchers.

public class CompositeRequestFetcher : Abblix.Oidc.Server.Endpoints.BackChannelAuthentication.RequestFetching.IBackChannelAuthenticationRequestFetcher

Inheritance System.Object → CompositeRequestFetcher

Implements IBackChannelAuthenticationRequestFetcher

Constructors

CompositeRequestFetcher(IBackChannelAuthenticationRequestFetcher[]) Constructor

Chains multiple IBackChannelAuthenticationRequestFetcher instances, feeding each one's output into the next so that distinct sources or formats (for example, the signed Request Object) can progressively enrich the request. Returns the first failure without invoking the remaining fetchers.

public CompositeRequestFetcher(Abblix.Oidc.Server.Endpoints.BackChannelAuthentication.RequestFetching.IBackChannelAuthenticationRequestFetcher[] fetchers);

Parameters

fetchers IBackChannelAuthenticationRequestFetcher[]

Methods

CompositeRequestFetcher.FetchAsync(BackChannelAuthenticationRequest) Method

Iterates through the configured fetchers to process the backchannel authentication request. Each fetcher in the array has the opportunity to handle the request. If a fetcher returns a fault, the process stops and the fault is returned. If all fetchers succeed, the method returns the final successful result.

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

Parameters

request BackChannelAuthenticationRequest

The backchannel authentication request to be processed.

Implements FetchAsync(BackChannelAuthenticationRequest)

Returns

System.Threading.Tasks.Task<Abblix.Utils.Result<BackChannelAuthenticationRequest,OidcError>>
A Abblix.Utils.Result<> that represents the outcome of the fetching process.