Ditto
1.0.14
|
Test a Ditto Cloud app without authentication ("Playground mode"). This mode offers no security and must only be used for development. More...
Public Attributes | |
std::string | app_id |
bool | enable_ditto_cloud_sync |
Public Attributes inherited from ditto::Identity | |
IdentityType | type |
Additional Inherited Members | |
Static Public Member Functions inherited from ditto::Identity | |
static DevelopmentIdentity | Development (std::string app_id="", uint64_t site_id=0, std::string persistence_dir="") |
Construct a new DevelopmentIdentity. More... | |
static OfflinePlaygroundIdentity | OfflinePlayground (std::string app_id="", uint64_t site_id=0, std::string persistence_dir="") |
Construct a new OfflinePlaygroundIdentity. More... | |
static OnlineIdentity | Online (std::string app_id, std::shared_ptr< AuthenticationCallback > callback, bool enable_ditto_cloud_sync=true, std::string custom_auth_url="", std::string persistence_dir="") |
Construct a new OnlineIdentity. More... | |
static OnlineWithAuthenticationIdentity | OnlineWithAuthentication (std::string app_id, std::shared_ptr< AuthenticationCallback > callback, bool enable_ditto_cloud_sync=true, std::string custom_auth_url="", std::string persistence_dir="") |
Construct a new OnlineWithAuthenticationIdentity. More... | |
static OnlinePlaygroundIdentity | OnlinePlayground (std::string app_id, bool enable_ditto_cloud_sync=true, std::string persistence_dir="") |
Construct a new OnlinePlaygroundIdentity. More... | |
static SharedKeyIdentity | SharedKey (std::string app_id, std::string shared_key, uint64_t site_id=0, std::string persistence_dir="") |
Construct a new SharedKeyIdentity. More... | |
static ManualIdentity | Manual (std::string certificate_config) |
Construct a new ManualIdentity. More... | |
Test a Ditto Cloud app without authentication ("Playground mode"). This mode offers no security and must only be used for development.
std::string ditto::OnlinePlaygroundIdentity::app_id |
The app ID associated with the identity.
bool ditto::OnlinePlaygroundIdentity::enable_ditto_cloud_sync |
Whether or not sync with Ditto cloud is enabled.