Skip to main content

EndSessionValidationContext Class

Abblix.Oidc.Server

Abblix.Oidc.Server.Endpoints.EndSession.Validation

EndSessionValidationContext Class

Represents the context for validating an end-session request.

public record EndSessionValidationContext : System.IEquatable<Abblix.Oidc.Server.Endpoints.EndSession.Validation.EndSessionValidationContext>

Inheritance System.Object → EndSessionValidationContext

Implements System.IEquatable<EndSessionValidationContext>

Constructors

EndSessionValidationContext(EndSessionRequest) Constructor

Represents the context for validating an end-session request.

public EndSessionValidationContext(Abblix.Oidc.Server.Model.EndSessionRequest Request);

Parameters

Request EndSessionRequest

Properties

EndSessionValidationContext.ClientId Property

The ClientId associated with the request.

public string? ClientId { get; set; }

Property Value

System.String

EndSessionValidationContext.ClientInfo Property

The ClientInfo object containing information about the client.

public Abblix.Oidc.Server.Features.ClientInformation.ClientInfo? ClientInfo { get; set; }

Property Value

ClientInfo

Exceptions

System.InvalidOperationException
Thrown when attempting to get a null value.

EndSessionValidationContext.IdToken Property

The ID token associated with the end-session request. This token is typically used to validate the identity of the user who initiated the end-session process.

public Abblix.Jwt.JsonWebToken? IdToken { get; set; }

Property Value

JsonWebToken

EndSessionValidationContext.Request Property

The request object to validate.

public Abblix.Oidc.Server.Model.EndSessionRequest Request { get; set; }

Property Value

EndSessionRequest