Skip to main content

IAuthorizationRequestProcessor Interface

Abblix.Oidc.Server

Abblix.Oidc.Server.Endpoints.Authorization.Interfaces

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.

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.

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.