Classes | |
struct | configuration |
struct | credentials |
Public Member Functions | |
App (const configuration &) | |
std::future< void > | register_user (const std::string &username, const std::string &password) |
std::future< user > | login (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< user > | get_current_user () const |
void | clear_cached_apps () |
std::optional< App > | get_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 |