EndSessionResponseFormatter Class
Formats end-session results as Microsoft.AspNetCore.Http.IResult: a front-channel-logout HTML page (with a per-response CSP nonce), a post-logout redirect, an empty 204, or the JSON OAuth error.
public class EndSessionResponseFormatter : Abblix.Oidc.Server.MinimalApi.Formatters.Interfaces.IEndSessionResponseFormatterInheritance System.Object → EndSessionResponseFormatter
Implements IEndSessionResponseFormatter
Constructors
EndSessionResponseFormatter(IFrontChannelLogoutService) Constructor
Formats end-session results as Microsoft.AspNetCore.Http.IResult: a front-channel-logout HTML page (with a per-response CSP nonce), a post-logout redirect, an empty 204, or the JSON OAuth error.
public EndSessionResponseFormatter(Abblix.Oidc.Server.Features.LogoutNotification.IFrontChannelLogoutService frontChannelLogoutService);Parameters
frontChannelLogoutService IFrontChannelLogoutService
Builds the front-channel logout HTML response.
Methods
EndSessionResponseFormatter.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.
public 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>
Implements FormatResponseAsync(EndSessionRequest, Result<EndSessionSuccess,OidcError>)
Returns
System.Threading.Tasks.Task<Microsoft.AspNetCore.Http.IResult>