Skip to content

ICheckSessionResponseFormatter Interface

Formats a check-session response (the session-management iframe document) into an Microsoft.AspNetCore.Http.IResult.

C#
public interface ICheckSessionResponseFormatter

Derived
CheckSessionResponseCachingDecorator
CheckSessionResponseFormatter

Methods

ICheckSessionResponseFormatter.FormatResponseAsync(CheckSessionResponse) Method

Formats the check-session response.

C#
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.

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.