Ditto 1.1.4
|
A manually-provided certificate identity. This accepts a base64-encoded bundle. More...
#include <Identity.hpp>
Public Attributes | |
std::string | certificate_config |
Public Attributes inherited from ditto::Identity | |
IdentityType | type |
Additional Inherited Members | |
Static Public Member Functions inherited from ditto::Identity | |
static std::shared_ptr< DevelopmentIdentity > | Development (std::string app_id="", uint64_t site_id=0, std::string persistence_dir="") |
Construct a new DevelopmentIdentity. More... | |
static std::shared_ptr< OfflinePlaygroundIdentity > | OfflinePlayground (std::string app_id="", uint64_t site_id=0, std::string persistence_dir="") |
Construct a new OfflinePlaygroundIdentity. More... | |
static std::shared_ptr< 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 std::shared_ptr< 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 std::shared_ptr< OnlinePlaygroundIdentity > | OnlinePlayground (std::string app_id, bool enable_ditto_cloud_sync=true, std::string persistence_dir="") |
Construct a new OnlinePlaygroundIdentity. More... | |
static std::shared_ptr< OnlinePlaygroundV2Identity > | OnlinePlaygroundV2 (std::string app_id, std::string token, bool enable_ditto_cloud_sync=true, std::string persistence_dir="") |
Construct a new OnlinePlaygroundV2Identity. More... | |
static std::shared_ptr< 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 std::shared_ptr< ManualIdentity > | Manual (std::string certificate_config) |
Construct a new ManualIdentity. More... | |
A manually-provided certificate identity. This accepts a base64-encoded bundle.
std::string ditto::ManualIdentity::certificate_config |
The base64-encoded string representation of a certificate bundle associated with the identity.