Skip to main content

EndSessionRequestProcessor Class

Abblix.Oidc.Server

Abblix.Oidc.Server.Endpoints.EndSession

EndSessionRequestProcessor Class

Implements the logic for processing end-session requests.

public class EndSessionRequestProcessor : Abblix.Oidc.Server.Endpoints.EndSession.Interfaces.IEndSessionRequestProcessor

Inheritance System.Object → EndSessionRequestProcessor

Implements IEndSessionRequestProcessor

Remarks

This class is responsible for handling end-session requests. It facilitates user logout, client notifications, and ensures compliance with the relevant OAuth 2.0 and OpenID Connect standards.

Constructors

EndSessionRequestProcessor(ILogger<EndSessionRequestProcessor>, IAuthSessionService, IIssuerProvider, IClientInfoProvider, ILogoutNotifier) Constructor

Implements the logic for processing end-session requests.

public EndSessionRequestProcessor(Microsoft.Extensions.Logging.ILogger<Abblix.Oidc.Server.Endpoints.EndSession.EndSessionRequestProcessor> logger, Abblix.Oidc.Server.Features.UserAuthentication.IAuthSessionService authSessionService, Abblix.Oidc.Server.Features.Issuer.IIssuerProvider issuerProvider, Abblix.Oidc.Server.Features.ClientInformation.IClientInfoProvider clientInfoProvider, Abblix.Oidc.Server.Features.LogoutNotification.ILogoutNotifier logoutNotifier);

Parameters

logger Microsoft.Extensions.Logging.ILogger<EndSessionRequestProcessor>

The logger.

authSessionService IAuthSessionService

The authentication service.

issuerProvider IIssuerProvider

The issuer provider.

clientInfoProvider IClientInfoProvider

The client info provider.

logoutNotifier ILogoutNotifier

The logout notifier.

Remarks

This class is responsible for handling end-session requests. It facilitates user logout, client notifications, and ensures compliance with the relevant OAuth 2.0 and OpenID Connect standards.

Methods

EndSessionRequestProcessor.ProcessAsync(ValidEndSessionRequest) Method

Processes the end-session request and returns the corresponding response.

public System.Threading.Tasks.Task<Abblix.Utils.Result<Abblix.Oidc.Server.Endpoints.EndSession.Interfaces.EndSessionSuccess,Abblix.Oidc.Server.Common.OidcError>> ProcessAsync(Abblix.Oidc.Server.Endpoints.EndSession.Interfaces.ValidEndSessionRequest request);

Parameters

request ValidEndSessionRequest

The valid end-session request to be processed.

Implements ProcessAsync(ValidEndSessionRequest)

Returns

System.Threading.Tasks.Task<Abblix.Utils.Result<EndSessionSuccess,OidcError>>
A task representing the asynchronous operation, which upon completion will yield an EndSessionSuccess or an OidcError.