Table of Contents

Class EndSessionHintValidationContext

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

A valid id_token_hint, the signed-in user and their session, for deciding whether the hint names them.

public class EndSessionHintValidationContext
Inheritance
EndSessionHintValidationContext
Inherited Members

Remarks

Duende 8.0.1's EndSessionHintValidationContext.

Constructors

EndSessionHintValidationContext(ClaimsPrincipal, IdentityTokenValidationResult, string?)

Creates the context for one hint against one session.

public EndSessionHintValidationContext(ClaimsPrincipal subject, IdentityTokenValidationResult tokenValidationResult, string? sessionId)

Parameters

subject ClaimsPrincipal

The signed-in user.

tokenValidationResult IdentityTokenValidationResult

The validated id_token_hint, with its claims.

sessionId string

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

Properties

SessionId

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

public string? SessionId { get; }

Property Value

string

Subject

The signed-in user.

public ClaimsPrincipal Subject { get; }

Property Value

ClaimsPrincipal

TokenValidationResult

The validated id_token_hint, whose sid and sub claims are compared with the session.

public IdentityTokenValidationResult TokenValidationResult { get; }

Property Value

IdentityTokenValidationResult