Interface ISessionToken
Represents a session token that contains user information and the last time it was refreshed.
Namespace: Singulink.Net.Http.Api.Service
Assembly: Singulink.Net.Http.Api.Service.dll
Syntax
public interface ISessionToken
Properties
| Name | Description |
|---|---|
| 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. |
| IsPersistent | Gets a value indicating whether the session token should be persistent (i.e., it should survive browser or application restarts). |
| RefreshAfter | Gets amount of time after which the session token must be refreshed. |
| RefreshedUtc | Gets the date and time when the session token was refreshed (in UTC). |
| UserId | Gets the user ID associated with the session (as a string). |
| ValidFor | Gets the amount of time after which the session token expires and can no longer be refreshed. |