Table of Contents

Class LoggedOutModel

Namespace
Fdyay.IdentityServer.UI.Pages.Account
Assembly
Fdyay.IdentityServer.UI.dll

The signed-out page: confirms the sign-out and loads each client's front-channel logout URL.

public class LoggedOutModel : PageModel, IAsyncPageFilter, IPageFilter, IFilterMetadata
Inheritance
LoggedOutModel
Implements
Inherited Members

Constructors

LoggedOutModel(IIdentityServerInteractionService, IOptions<IdentityServerOptions>)

Creates the page model, as the container resolves it.

public LoggedOutModel(IIdentityServerInteractionService interaction, IOptions<IdentityServerOptions> options)

Parameters

interaction IIdentityServerInteractionService

Reads the sign-out the logout id describes.

options IOptions<IdentityServerOptions>

The server options, from which the page's content security policy is built.

Properties

LogoutContext

The sign-out the logout id describes: the front-channel logout URLs to load, and where to go next.

public LogoutRequest LogoutContext { get; set; }

Property Value

LogoutRequest

Methods

OnGetAsync(string?)

Reads the sign-out logoutId describes, and sets a content security policy whose frame-src lets the front-channel logout iframes load.

public Task OnGetAsync(string? logoutId)

Parameters

logoutId string

The logout id the logout page passed on, from the query string; null when there is none.

Returns

Task

A task that completes when the page's properties and headers are set.