1#ifndef DITTO_AUTHENTICATION_STATUS_H
2#define DITTO_AUTHENTICATION_STATUS_H
35 bool _is_authenticated;
Namespace for the Ditto C++ SDK types and functions.
Definition AbstractDocumentPath.hpp:19
Provides info about the authentication status.
Definition AuthenticationStatus.hpp:10
AuthenticationStatus()
Convenience constructor with is_authenticated set to false and user_id set to the empty string "".
bool is_authenticated() const
Returns true if authenticated, otherwise returns false.
Definition AuthenticationStatus.hpp:15
AuthenticationStatus(bool is_authenticated, std::string user_id)
Constructs an authentication status with the given parameters.
std::string get_user_id() const
If authenticated, returns the user ID if one was provided by the authentication service....
Definition AuthenticationStatus.hpp:21