Realm C++ SDK Version v2.1.0
Classes | Public Member Functions | List of all members

realm::App Class Reference

Classes

struct  configuration
 
struct  credentials
 

Public Member Functions

 App (const std::string &app_id, const std::optional< std::string > &base_url={}, const std::optional< std::string > &path={}, const std::optional< std::map< std::string, std::string > > &custom_http_headers={})
 
 App (const configuration &)
 
std::future< void > register_user (const std::string &username, const std::string &password)
 
std::future< userlogin (const credentials &credentials)
 
void login (const credentials &credentials, std::function< void(user, std::optional< app_error >)> &&callback)
 
internal::bridge::sync_manager get_sync_manager () const
 
std::optional< userget_current_user () const
 
void clear_cached_apps ()
 
std::optional< Appget_cached_app (const std::string &app_id, const std::optional< std::string > &base_url)
 
std::string get_base_url () const
 
std::string path_for_realm (const realm::sync_config &) const
 

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