IEndSessionResponseFormatter Interface
Formats the result of an RP-initiated logout (end-session) request into an Microsoft.AspNetCore.Http.IResult.
public interface IEndSessionResponseFormatterDerived
↳ EndSessionResponseFormatterDecorator
↳ EndSessionResponseFormatter
Methods
IEndSessionResponseFormatter.FormatResponseAsync(EndSessionRequest, Result<EndSessionSuccess,OidcError>) Method
Formats the end-session result: a front-channel-logout HTML page, a post-logout redirect, an empty 204, or an OAuth error.
System.Threading.Tasks.Task<Microsoft.AspNetCore.Http.IResult> 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
response Abblix.Utils.Result<EndSessionSuccess,OidcError>
Returns
System.Threading.Tasks.Task<Microsoft.AspNetCore.Http.IResult>