Beamable SDK
Public Member Functions | Public Attributes | Properties | List of all members
Core.Platform.SDK.AccessToken Class Reference

Public Member Functions

 AccessToken (AccessTokenStorage storage, string cid, string pid, string token, string refreshToken, long expiresAt)
 
 AccessToken (AccessTokenStorage storage, string cid, string pid, string token, string refreshToken, string expiresAtISO)
 
Promise< UnitSave ()
 
Promise< UnitDelete ()
 

Public Attributes

bool IsExpired => DateTime.UtcNow.AddDays(1) > ExpiresAt
 

Properties

string Token [get]
 
string RefreshToken [get]
 
DateTime ExpiresAt [get, set]
 
string Cid [get]
 
string Pid [get]
 

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