Skip to content

CheckSessionResponseFormatter Class

Produces the check-session iframe document, generating a per-request CSP nonce to protect the inline script.

C#
public class CheckSessionResponseFormatter : Abblix.Oidc.Server.MinimalApi.Formatters.Interfaces.ICheckSessionResponseFormatter

Inheritance System.Object → CheckSessionResponseFormatter

Implements ICheckSessionResponseFormatter

Methods

CheckSessionResponseFormatter.FormatResponseAsync(CheckSessionResponse) Method

Formats the check-session response.

C#
public System.Threading.Tasks.Task<Microsoft.AspNetCore.Http.IResult> FormatResponseAsync(Abblix.Oidc.Server.Endpoints.CheckSession.Interfaces.CheckSessionResponse response);

Parameters

response CheckSessionResponse

The check-session response carrying the HTML template.

Implements FormatResponseAsync(CheckSessionResponse)

Returns

System.Threading.Tasks.Task<Microsoft.AspNetCore.Http.IResult>
An Microsoft.AspNetCore.Http.IResult that writes the iframe document with a per-request CSP nonce.