#### [Abblix\.Oidc\.Server](https://www.abblix.com/en/docs/api/abblix-oidc-server 'index')
### [Abblix\.Oidc\.Server\.Endpoints\.CheckSession\.Interfaces](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Endpoints.CheckSession.Interfaces '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\.

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

Inheritance [System\.Object](https://learn.microsoft.com/en-us/dotnet/api/system.object 'System\.Object') → CheckSessionResponse

Implements [System\.IEquatable&lt;](https://learn.microsoft.com/en-us/dotnet/api/system.iequatable-1 'System\.IEquatable\`1')[CheckSessionResponse](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Endpoints.CheckSession.Interfaces.CheckSessionResponse 'Abblix\.Oidc\.Server\.Endpoints\.CheckSession\.Interfaces\.CheckSessionResponse')[&gt;](https://learn.microsoft.com/en-us/dotnet/api/system.iequatable-1 'System\.IEquatable\`1')
### Constructors

## CheckSessionResponse\(string, object\) Constructor {#Abblix.Oidc.Server.Endpoints.CheckSession.Interfaces.CheckSessionResponse.CheckSessionResponse(string,object)}

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\.

```csharp
public CheckSessionResponse(string HtmlContent, object CacheKey);
```
#### Parameters

###### `HtmlContent` [System\.String](https://learn.microsoft.com/en-us/dotnet/api/system.string 'System\.String') {#Abblix.Oidc.Server.Endpoints.CheckSession.Interfaces.CheckSessionResponse.CheckSessionResponse(string,object).HtmlContent}

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

###### `CacheKey` [System\.Object](https://learn.microsoft.com/en-us/dotnet/api/system.object 'System\.Object') {#Abblix.Oidc.Server.Endpoints.CheckSession.Interfaces.CheckSessionResponse.CheckSessionResponse(string,object).CacheKey}

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 {#Abblix.Oidc.Server.Endpoints.CheckSession.Interfaces.CheckSessionResponse.CacheKey}

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\.

```csharp
public object CacheKey { get; init; }
```

#### Property Value
[System\.Object](https://learn.microsoft.com/en-us/dotnet/api/system.object 'System\.Object')

## CheckSessionResponse\.HtmlContent Property {#Abblix.Oidc.Server.Endpoints.CheckSession.Interfaces.CheckSessionResponse.HtmlContent}

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

```csharp
public string HtmlContent { get; init; }
```

#### Property Value
[System\.String](https://learn.microsoft.com/en-us/dotnet/api/system.string 'System\.String')
