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

This class defines the main entry point for the AccessToken feature. More...

Inheritance diagram for Beamable.Api.AccessToken:
Inheritance graph
[legend]
Collaboration diagram for Beamable.Api.AccessToken:
Collaboration graph
[legend]

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< UnitSaveAsCustomerScoped ()
 
Promise< UnitDelete ()
 
Promise< UnitDeleteAsCustomerScoped ()
 

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]
 
- Properties inherited from Beamable.Common.Api.IAccessToken
string Token [get]
 
string RefreshToken [get]
 
DateTime ExpiresAt [get]
 
string Cid [get]
 
string Pid [get]
 

Detailed Description

This class defines the main entry point for the AccessToken feature.

Related Links

img beamable-logo


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