Nakama .NET Client SDK 3.8.0
Nakama .NET Client SDK
|
A session authenticated for a user with Satori server. More...
Public Member Functions | |
bool | HasExpired (DateTime offset) |
Check the session has expired against the offset time. | |
bool | HasRefreshExpired (DateTime offset) |
Check if the refresh token has expired against the offset time. | |
Properties | |
string | AuthToken [get] |
The authorization token used to construct this session. | |
long | ExpireTime [get] |
The UNIX timestamp when this session will expire. | |
bool | IsExpired [get] |
If the session has expired. | |
bool | IsRefreshExpired [get] |
If the refresh token has expired. | |
long | RefreshExpireTime [get] |
The UNIX timestamp when the refresh token will expire. | |
string | RefreshToken [get] |
Refresh token that can be used for session token renewal. | |
string | IdentityId [get] |
The ID of the user who owns this session. | |
A session authenticated for a user with Satori server.
bool Satori.ISession.HasExpired | ( | DateTime | offset | ) |
Check the session has expired against the offset time.
offset | The datetime to compare against this session. |
Implemented in Satori.Session.
bool Satori.ISession.HasRefreshExpired | ( | DateTime | offset | ) |
Check if the refresh token has expired against the offset time.
offset | The datetime to compare against this refresh token. |
Implemented in Satori.Session.
|
get |
The authorization token used to construct this session.
Implemented in Satori.Session.
|
get |
The UNIX timestamp when this session will expire.
Implemented in Satori.Session.
|
get |
The ID of the user who owns this session.
Implemented in Satori.Session.
|
get |
If the session has expired.
Implemented in Satori.Session.
|
get |
If the refresh token has expired.
Implemented in Satori.Session.
|
get |
The UNIX timestamp when the refresh token will expire.
Implemented in Satori.Session.
|
get |
Refresh token that can be used for session token renewal.
Implemented in Satori.Session.