Public Member Functions

 Config (Config const &)=delete
 
void operator= (Config const &)=delete
 
const utility::string_t & appRedirectUri () const
 
const utility::string_t & appId () const
 
const utility::string_t & appKey () const
 
const utility::string_t & appScope () const
 
const utility::string_t & appOauthAuthorizationEndpoint () const
 
const utility::string_t & appOauthTokenEndpoint () const
 
const utility::string_t & apiHost () const
 

Static Public Member Functions

static Configinit (utility::string_t &&appRedirectUri, utility::string_t &&appId, utility::string_t &&appKey, utility::string_t &&appScope=U("basic network groups files basic:write network:write groups:write files:write"))
 Initialize the GiGaSdk configuration. More...
 
static Configget ()
 

Member Function Documentation

Config & giga::Config::init ( utility::string_t &&  appRedirectUri,
utility::string_t &&  appId,
utility::string_t &&  appKey,
utility::string_t &&  appScope = U("basic network groups files basic:write network:write groups:write files:write") 
)
inlinestatic

Initialize the GiGaSdk configuration.

Create an apps at https://giga.gg/app to get an appId, and appKey.


The documentation for this class was generated from the following file:
  • /home/thomas/code/GiGaSdk/src/giga/Config.h