Interface ISessionData
Represents session data in a session store.
Namespace: Singulink.Net.Http.Api
Assembly: Singulink.Net.Http.Api.dll
Syntax
public interface ISessionData : ISessionTokenRefreshInfo
Properties
| Name | Description |
|---|---|
| Device | Gets or sets the device associated with the session. |
| Generation | Gets or sets the generation of the session. This value is incremented each time the session is refreshed, and the previous generation is allowed a refresh for a short grace period to allow for concurrent refresh requests. |
| IpAddress | Gets or sets the last IP address associated with the session. |
| IsPersistent | Gets a value indicating whether the session should be persistent (i.e., it should survive browser or application restarts). |
| RefreshedUtc | Gets or sets the date and time when the session was last refreshed (in UTC). |
| ValidFor | Gets or sets the amount of time after which the session expires and can no longer be refreshed. |
Explicit Interface Implementations
| Name | Description |
|---|---|
| ISessionTokenRefreshInfo.Generation | Gets the generation of the session token. This value is incremented each time the token is refreshed, and the previous generation is allowed a refresh for a short grace period to allow for concurrent refresh requests. |
| ISessionTokenRefreshInfo.RefreshedUtc | Gets the date and time when the session token was last refreshed (in UTC). |
| ISessionTokenRefreshInfo.ValidFor | Gets the amount of time after which the session token expires and can no longer be refreshed. |