CheckSessionResponseCachingDecorator Class
Adds caching to ICheckSessionResponseFormatter, reusing the formatted result for a given cache key.
public class CheckSessionResponseCachingDecorator : Abblix.Oidc.Server.MinimalApi.Formatters.Interfaces.ICheckSessionResponseFormatterInheritance System.Object → CheckSessionResponseCachingDecorator
Implements ICheckSessionResponseFormatter
Constructors
CheckSessionResponseCachingDecorator(ICheckSessionResponseFormatter, ICheckSessionResponseCache) Constructor
Adds caching to ICheckSessionResponseFormatter, reusing the formatted result for a given cache key.
public CheckSessionResponseCachingDecorator(Abblix.Oidc.Server.MinimalApi.Formatters.Interfaces.ICheckSessionResponseFormatter inner, Abblix.Oidc.Server.MinimalApi.Features.SessionManagement.ICheckSessionResponseCache cache);Parameters
inner ICheckSessionResponseFormatter
cache ICheckSessionResponseCache
Methods
CheckSessionResponseCachingDecorator.FormatResponseAsync(CheckSessionResponse) Method
Formats the check-session response.
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.