Table of Contents

Class EndSessionHintValidationResult

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

Whether an id_token_hint may end the session it is presented against.

public class EndSessionHintValidationResult
Inheritance
EndSessionHintValidationResult
Inherited Members

Remarks

Duende 8.0.1's EndSessionHintValidationResult.

Properties

ErrorMessage

Why the hint was found invalid; null for any other outcome.

public string? ErrorMessage { get; }

Property Value

string

Outcome

Whether the hint is valid, invalid, or valid with the user asked to confirm.

public EndSessionHintValidationOutcome Outcome { get; }

Property Value

EndSessionHintValidationOutcome

Methods

Invalid(string)

The hint does not name this session.

public static EndSessionHintValidationResult Invalid(string errorMessage)

Parameters

errorMessage string

Returns

EndSessionHintValidationResult

RequiresConfirmation()

The hint may stand, and the user is asked anyway.

public static EndSessionHintValidationResult RequiresConfirmation()

Returns

EndSessionHintValidationResult

Valid()

The hint names this session: the client may end it.

public static EndSessionHintValidationResult Valid()

Returns

EndSessionHintValidationResult