Nakama .NET Client SDK 3.8.0
Nakama .NET Client SDK
|
A session authenticated for a user with Nakama 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. | |
bool | Created [get] |
If the user account for this session was just created. | |
long | CreateTime [get] |
The UNIX timestamp when this session was created. | |
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. | |
IDictionary< string, string > | Vars [get] |
Any custom properties associated with this session. | |
string | Username [get] |
The username of the user who owns this session. | |
string | UserId [get] |
The ID of the user who owns this session. | |
A session authenticated for a user with Nakama server.
bool Nakama.ISession.HasExpired | ( | DateTime | offset | ) |
Check the session has expired against the offset time.
offset | The datetime to compare against this session. |
Implemented in Nakama.Session.
bool Nakama.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 Nakama.Session.
|
get |
The authorization token used to construct this session.
Implemented in Nakama.Session.
|
get |
If the user account for this session was just created.
Implemented in Nakama.Session.
|
get |
The UNIX timestamp when this session was created.
Implemented in Nakama.Session.
|
get |
The UNIX timestamp when this session will expire.
Implemented in Nakama.Session.
|
get |
If the session has expired.
Implemented in Nakama.Session.
|
get |
If the refresh token has expired.
Implemented in Nakama.Session.
|
get |
The UNIX timestamp when the refresh token will expire.
Implemented in Nakama.Session.
|
get |
Refresh token that can be used for session token renewal.
Implemented in Nakama.Session.
|
get |
The ID of the user who owns this session.
Implemented in Nakama.Session.
|
get |
The username of the user who owns this session.
Implemented in Nakama.Session.
|
get |
Any custom properties associated with this session.
Implemented in Nakama.Session.