Interface ISessionToken<TUserId>
Represents a session token that contains user information and the last time it was refreshed.
Namespace: Singulink.Net.Http.Api
Assembly: Singulink.Net.Http.Api.dll
Syntax
public interface ISessionToken<TUserId> where TUserId : notnull, IParsable<TUserId>, IEquatable<TUserId>
Type Parameters
Name | Description |
---|---|
TUserId |
Properties
Name | Description |
---|---|
Persisted | Gets a value indicating whether the session token is persisted (i.e., it should persist across browser sessions or application restarts). |
RefreshedUtc | Gets the date and time when the session token was last refreshed, in UTC. |
UserId | Gets the user ID associated with the session token. |