Ditto 2.0.0-alpha1
List of all members
ditto::OnlinePlaygroundV2Identity Class Reference

Test a Ditto Cloud app with weak shared token authentication ("Playground mode"). This is not secure and must only be used for development. More...

#include <Identity.hpp>

Inheritance diagram for ditto::OnlinePlaygroundV2Identity:
ditto::OnlinePlaygroundIdentity ditto::Identity

Additional Inherited Members

- Static Public Member Functions inherited from ditto::Identity
static std::shared_ptr< OfflinePlaygroundIdentityOfflinePlayground (std::string app_id="", uint64_t site_id=0, std::string persistence_dir="")
 Construct a new OfflinePlaygroundIdentity. More...
 
static std::shared_ptr< OnlineWithAuthenticationIdentityOnlineWithAuthentication (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 std::shared_ptr< OnlinePlaygroundIdentityOnlinePlayground (std::string app_id, std::string token, bool enable_ditto_cloud_sync=true, std::string persistence_dir="")
 Construct a new OnlinePlaygroundIdentity. More...
 
static std::shared_ptr< OnlinePlaygroundV2IdentityOnlinePlaygroundV2 (std::string app_id, std::string token, bool enable_ditto_cloud_sync=true, std::string persistence_dir="") DITTO_DEPRECATED
 Construct a new OnlinePlaygroundIdentity. More...
 
static std::shared_ptr< SharedKeyIdentitySharedKey (std::string app_id, std::string shared_key, uint64_t site_id=0, std::string persistence_dir="")
 Construct a new SharedKeyIdentity. More...
 
static std::shared_ptr< ManualIdentityManual (std::string certificate_config)
 Construct a new ManualIdentity. More...
 
- Public Attributes inherited from ditto::OnlinePlaygroundIdentity
std::string app_id
 
std::string token
 
bool enable_ditto_cloud_sync
 
- Public Attributes inherited from ditto::Identity
IdentityType type
 

Detailed Description

Test a Ditto Cloud app with weak shared token authentication ("Playground mode"). This is not secure and must only be used for development.

Deprecated:
use OnlinePlaygroundIdentity instead