Перейти к содержимому
Abblix
Эта страница ещё не переведена.

IBackChannelAuthenticationHandler Interface

Endpoint contract for the OpenID Connect CIBA (Client-Initiated Backchannel Authentication) flow, orchestrating fetch, validation and processing of an incoming backchannel authentication request to produce the response defined in CIBA Core 1.0 §7.

C#
public interface IBackChannelAuthenticationHandler

Derived
BackChannelAuthenticationHandler

Methods

IBackChannelAuthenticationHandler.HandleAsync(BackChannelAuthenticationRequest, ClientRequest) Method

Processes a backchannel authentication request and returns either a successful response (containing auth_req_id, expires_in and the polling interval) or an OidcError describing why the request was rejected.

C#
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 incoming CIBA authentication request, after parsing of standard parameters.

clientRequest ClientRequest

Transport-level information about the client invocation (e.g. authentication credentials, headers) used to identify and authorize the calling client.

Returns

System.Threading.Tasks.Task<Abblix.Utils.Result<BackChannelAuthenticationSuccess,OidcError>>
A Abblix.Utils.Result<> wrapping a BackChannelAuthenticationSuccess or an OidcError.