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
interactionIIdentityServerInteractionServiceReads the sign-out the logout id describes.
optionsIOptions<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
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
logoutIdstringThe 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.