Skip to main content

CheckSessionResponse Class

Abblix.Oidc.Server

Abblix.Oidc.Server.Endpoints.CheckSession.Interfaces

CheckSessionResponse Class

Represents the response to a check session request in OpenID Connect Session Management. This record contains the necessary information to ascertain the current state of a user session.

public record CheckSessionResponse : System.IEquatable<Abblix.Oidc.Server.Endpoints.CheckSession.Interfaces.CheckSessionResponse>

Inheritance System.Object → CheckSessionResponse

Implements System.IEquatable<CheckSessionResponse>

Constructors

CheckSessionResponse(string, object) Constructor

Represents the response to a check session request in OpenID Connect Session Management. This record contains the necessary information to ascertain the current state of a user session.

public CheckSessionResponse(string HtmlContent, object CacheKey);

Parameters

HtmlContent System.String

The HTML content to be rendered, typically used in an iframe for session checking.

CacheKey System.Object

An object that represents a cache key, used for optimizing session state checks. It serves as a key for caching the response to reduce frequent reevaluation when the session state is expected to remain unchanged for an extended period, enhancing performance.

Properties

CheckSessionResponse.CacheKey Property

An object that represents a cache key, used for optimizing session state checks. It serves as a key for caching the response to reduce frequent reevaluation when the session state is expected to remain unchanged for an extended period, enhancing performance.

public object CacheKey { get; init; }

Property Value

System.Object

CheckSessionResponse.HtmlContent Property

The HTML content to be rendered, typically used in an iframe for session checking.

public string HtmlContent { get; init; }

Property Value

System.String