Nakama .NET Client SDK 3.8.0
Nakama .NET Client SDK
Loading...
Searching...
No Matches
Satori.ISession Interface Reference

A session authenticated for a user with Satori server. More...

Inheritance diagram for Satori.ISession:
Satori.Session

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.
 

Detailed Description

A session authenticated for a user with Satori server.

Member Function Documentation

◆ HasExpired()

bool Satori.ISession.HasExpired ( DateTime  offset)

Check the session has expired against the offset time.

Parameters
offsetThe datetime to compare against this session.
Returns
If the session has expired.

Implemented in Satori.Session.

◆ HasRefreshExpired()

bool Satori.ISession.HasRefreshExpired ( DateTime  offset)

Check if the refresh token has expired against the offset time.

Parameters
offsetThe datetime to compare against this refresh token.
Returns
If refresh token has expired.

Implemented in Satori.Session.

Property Documentation

◆ AuthToken

string Satori.ISession.AuthToken
get

The authorization token used to construct this session.

Implemented in Satori.Session.

◆ ExpireTime

long Satori.ISession.ExpireTime
get

The UNIX timestamp when this session will expire.

Implemented in Satori.Session.

◆ IdentityId

string Satori.ISession.IdentityId
get

The ID of the user who owns this session.

Implemented in Satori.Session.

◆ IsExpired

bool Satori.ISession.IsExpired
get

If the session has expired.

Implemented in Satori.Session.

◆ IsRefreshExpired

bool Satori.ISession.IsRefreshExpired
get

If the refresh token has expired.

Implemented in Satori.Session.

◆ RefreshExpireTime

long Satori.ISession.RefreshExpireTime
get

The UNIX timestamp when the refresh token will expire.

Implemented in Satori.Session.

◆ RefreshToken

string Satori.ISession.RefreshToken
get

Refresh token that can be used for session token renewal.

Implemented in Satori.Session.


The documentation for this interface was generated from the following file: