IEndSessionResponseFormatter Interface
Defines an interface for formatting a response to an end-session request and response.
public interface IEndSessionResponseFormatterDerived
↳ EndSessionResponseFormatterDecorator
↳ EndSessionResponseFormatter
Methods
IEndSessionResponseFormatter.FormatResponseAsync(EndSessionRequest, Result<EndSessionSuccess,OidcError>) Method
Formats a response asynchronously for an end-session request and response.
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.
Returns
System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.ActionResult>
A System.Threading.Tasks.Task representing the asynchronous operation,
with the formatted response as an Microsoft.AspNetCore.Mvc.ActionResult.