EndSessionResponseFormatterDecorator Class
A decorator class that adds session management functionality to the End Session response formatting process.
public class EndSessionResponseFormatterDecorator : Abblix.Oidc.Server.Mvc.Formatters.Interfaces.IEndSessionResponseFormatterInheritance System.Object → EndSessionResponseFormatterDecorator
Implements IEndSessionResponseFormatter
Constructors
EndSessionResponseFormatterDecorator(IEndSessionResponseFormatter, ISessionManagementService) Constructor
A decorator class that adds session management functionality to the End Session response formatting process.
public EndSessionResponseFormatterDecorator(Abblix.Oidc.Server.Mvc.Formatters.Interfaces.IEndSessionResponseFormatter inner, Abblix.Oidc.Server.Features.SessionManagement.ISessionManagementService sessionManagementService);Parameters
inner IEndSessionResponseFormatter
The inner End Session response formatter.
sessionManagementService ISessionManagementService
The service responsible for session management.
Methods
EndSessionResponseFormatterDecorator.FormatResponseAsync(EndSessionRequest, Result<EndSessionSuccess,OidcError>) Method
Formats an End Session response and performs session management operations if enabled.
public System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.ActionResult> FormatResponseAsync(Abblix.Oidc.Server.Model.EndSessionRequest request, Abblix.Utils.Result<Abblix.Oidc.Server.Endpoints.EndSession.Interfaces.EndSessionSuccess,Abblix.Oidc.Server.Common.OidcError> response);Parameters
request EndSessionRequest
The End Session request.
response Abblix.Utils.Result<EndSessionSuccess,OidcError>
The End Session response to be formatted.
Implements FormatResponseAsync(EndSessionRequest, Result<EndSessionSuccess,OidcError>)
Returns
System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.ActionResult>
A System.Threading.Tasks.Task<> representing the asynchronous operation. The task result contains
the formatted ActionResult, with additional session management actions if enabled.