Table of Contents

Class ValidatedEndSessionRequest

Namespace
Fdyay.IdentityServer.Validation
Assembly
Fdyay.IdentityServer.Core.dll

An end-session request (OpenID Connect RP-Initiated Logout 1.0 §2), as validated.

public class ValidatedEndSessionRequest : IValidatedRequest
Inheritance
ValidatedEndSessionRequest
Implements
Inherited Members

Remarks

Duende 8.0.1's ValidatedEndSessionRequest, measured, with the request members it inherits, and an IValidatedRequest since 0.155.0. Not adopted, recorded: SamlSessions, which this server's SAML package keeps on its own session.

Properties

Client

The client the id_token_hint was issued to — none without a valid hint.

public Client? Client { get; set; }

Property Value

Client

ClientIds

The clients the session signed in to, for the sign-out notifications.

public IReadOnlyCollection<string> ClientIds { get; set; }

Property Value

IReadOnlyCollection<string>

IsAuthenticated

Whether a user is signed in.

public bool IsAuthenticated { get; set; }

Property Value

bool

IssuerName

The issuer the request was served as.

public string IssuerName { get; set; }

Property Value

string

Remarks

Written by the validator; Duende's leaves it unset on this request.

Options

The options the request was validated under.

public IdentityServerOptions Options { get; set; }

Property Value

IdentityServerOptions

Remarks

Written by the validator; Duende's leaves it unset on this request.

PostLogOutUri

The post_logout_redirect_uri, when the client may be sent back to it.

public string? PostLogOutUri { get; set; }

Property Value

string

Raw

Every parameter of the request, as this server read them.

public IReadOnlyDictionary<string, string> Raw { get; set; }

Property Value

IReadOnlyDictionary<string, string>

RequiresConfirmation

Whether the user must confirm the sign-out though the client named itself with a valid hint.

public bool RequiresConfirmation { get; set; }

Property Value

bool

SessionId

The signed-in user's session, when there is one.

public string? SessionId { get; set; }

Property Value

string

State

The state to send back with PostLogOutUri, when there is one.

public string? State { get; set; }

Property Value

string

Subject

The signed-in user, when there is one.

public ClaimsPrincipal? Subject { get; set; }

Property Value

ClaimsPrincipal

UiLocales

The request's ui_locales, when it sent one within the length limit. New in 0.156.0.

public string? UiLocales { get; set; }

Property Value

string

Remarks

What the logout page is told the user's language is, through IUiLocalesService.