Aller au contenu
Abblix
Cette page n'a pas encore été traduite.

IAuthorizationRequestProcessor Interface

Defines the interface for processing authorization requests according to OpenID Connect and OAuth 2.0 specifications. It handles the end-user's authentication, authorization decision, and the issuance of authorization codes and tokens.

C#
public interface IAuthorizationRequestProcessor

Derived
AuthorizationRequestProcessor
PushedAuthorizationRequestProcessorDecorator
AuthorizationRequestProcessorDecorator

Remarks

The actual authentication methods and the process to obtain the end-user's authorization decision are implementation-specific and not defined by this interface.

Methods

IAuthorizationRequestProcessor.ProcessAsync(ValidAuthorizationRequest) Method

Processes a valid authorization request, authenticates the end-user, obtains an authorization decision, and issues an authorization code or tokens.

C#
System.Threading.Tasks.Task<Abblix.Oidc.Server.Endpoints.Authorization.Interfaces.AuthorizationResponse> ProcessAsync(Abblix.Oidc.Server.Endpoints.Authorization.Interfaces.ValidAuthorizationRequest request);

Parameters

request ValidAuthorizationRequest

The valid authorization request to process.

Returns

System.Threading.Tasks.Task<AuthorizationResponse>
A task that resolves to an AuthorizationResponse containing the outcome of the request processing.