EndSessionRequestProcessor Class
Implements the logic for processing end-session requests.
public class EndSessionRequestProcessor : Abblix.Oidc.Server.Endpoints.EndSession.Interfaces.IEndSessionRequestProcessorInheritance 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, ITokenRevoker, IOptions<OidcOptions>) 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, Abblix.Oidc.Server.Features.Tokens.Revocation.ITokenRevoker tokenRevoker, Microsoft.Extensions.Options.IOptions<Abblix.Oidc.Server.Common.Configuration.OidcOptions> options);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.
tokenRevoker ITokenRevoker
Revokes the tokens of the ended session, when the deployment asks for it.
options Microsoft.Extensions.Options.IOptions<OidcOptions>
Supplies whether ending a session revokes its tokens.
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.