The Firebase Client class and static functions interfaces
Get the user authentication/autorization credentials data.
static user_auth_data &getAuth(T &auth)Params:
auth- The user auth data (user_auth_data) which is the struct that holds the user sign-in credentials and tokens that obtained from the authentication/authorization classes via getAuth function.
Returns:
user_auth_data- The user authentication/authorization data.
Initialize the FirebaseApp and wait.
static void initializeApp(AsyncClientClass &aClient, FirebaseApp &app, user_auth_data &auth, unsigned long timeoutMs = 0, AsyncResultCallback cb = NULL)Params:
aClient- The async client to work for authentication/authorization task.app- The FirebaseApp class object to handle authentication/authorization task.auth- The user auth data (user_auth_data) which is the struct that holds the user sign-in credentials and tokens that obtained from the authentication/authorization classes via getAuth function.timeoutMs- Optional. The await timeout in milliseconds.cb- Optional. The async result callback (AsyncResultCallback).
Initialize the FirebaseApp with callback.
static void initializeApp(AsyncClientClass &aClient, FirebaseApp &app, user_auth_data &auth, AsyncResultCallback cb, const String &uid = "")Params:
aClient- The async client to work for authentication/authorization task.app- The FirebaseApp class object to handle authentication/authorization task.auth- The user auth data (user_auth_data) which is the struct that holds the user sign-in credentials and tokens that obtained from the authentication/authorization classes via getAuth function.cb- The async result callback (AsyncResultCallback).uid- The user specified UID of async result (optional).
Initialize the FirebaseApp without callback.
static void initializeApp(AsyncClientClass &aClient, FirebaseApp &app, user_auth_data &auth, AsyncResult &aResult)Params:
aClient- The async client to work for authentication/authorization task.app- The FirebaseApp class object to handle authentication/authorization task.auth- The user auth data (user_auth_data) which is the struct that holds the user sign-in credentials and tokens that obtained from the authentication/authorization classes via getAuth function.aResult- The async result (AsyncResult).
Deinitialize the FirebaseApp.
static void dnitializeApp(FirebaseApp &app)Params:
app- The FirebaseApp class object to handle authentication/authorization task.
Signup a new user.
static void signup(AsyncClientClass &aClient, FirebaseApp &app, user_auth_data &auth)Params:
aClient- The async client to work for authentication/authorization task.app- The FirebaseApp class object to handle authentication/authorization task.auth- The user auth data (user_auth_data) which holds the user credentials fromUSerAccountclass.
Signup a new user without callback.
static void signup(AsyncClientClass &aClient, FirebaseApp &app, user_auth_data &auth, AsyncResult &aResult)Params:
aClient- The async client to work for authentication/authorization task.app- The FirebaseApp class object to handle authentication/authorization task.auth- The user auth data (user_auth_data) which holds the user credentials fromUSerAccountclass.aResult- The async result (AsyncResult).
Signup a new user with callback.
static void signup(AsyncClientClass &aClient, FirebaseApp &app, user_auth_data &auth, AsyncResultCallback cb, const String &uid = "")Params:
aClient- The async client to work for authentication/authorization task.app- The FirebaseApp class object to handle authentication/authorization task.auth- The user auth data (user_auth_data) which holds the user credentials fromUSerAccountclass.cb- The async result callback (AsyncResultCallback).uid- The user specified UID of async result (optional).
Reset the user password.
static void resetPassword(AsyncClientClass &aClient, FirebaseApp &app, user_auth_data &auth)Params:
aClient- The async client to work for authentication/authorization task.app- The FirebaseApp class object to handle authentication/authorization task.auth- The user auth data (user_auth_data) which holds the user credentials fromUSerAccountclass.
Reset the user password without callback.
static void resetPassword(AsyncClientClass &aClient, FirebaseApp &app, user_auth_data &auth, AsyncResult &aResult)Params:
aClient- The async client to work for authentication/authorization task.app- The FirebaseApp class object to handle authentication/authorization task.auth- The user auth data (user_auth_data) which holds the user credentials fromUSerAccountclass.aResult- The async result (AsyncResult).
Reset the user password with callback.
static void resetPassword(AsyncClientClass &aClient, FirebaseApp &app, user_auth_data &auth, AsyncResultCallback cb, const String &uid = "")Params:
aClient- The async client to work for authentication/authorization task.app- The FirebaseApp class object to handle authentication/authorization task.auth- The user auth data (user_auth_data) which holds the user credentials fromUSerAccountclass.cb- The async result callback (AsyncResultCallback).uid- The user specified UID of async result (optional).
Send the user verification link to email.
static void verify(AsyncClientClass &aClient, FirebaseApp &app, user_auth_data &auth) Params:
aClient- The async client to work for authentication/authorization task.app- The FirebaseApp class object to handle authentication/authorization task.auth- The user auth data (user_auth_data) which holds the user credentials fromUSerAccountclass.
Send the user verification link to email without callback.
static void verify(AsyncClientClass &aClient, FirebaseApp &app, user_auth_data &auth, AsyncResult &aResult)Params:
aClient- The async client to work for authentication/authorization task.app- The FirebaseApp class object to handle authentication/authorization task.auth- The user auth data (user_auth_data) which holds the user credentials fromUSerAccountclass.aResult- The async result (AsyncResult).
Send the user verification link to email with callback.
static void verify(AsyncClientClass &aClient, FirebaseApp &app, user_auth_data &auth, AsyncResultCallback cb, const String &uid = "")Params:
aClient- The async client to work for authentication/authorization task.app- The FirebaseApp class object to handle authentication/authorization task.auth- The user auth data (user_auth_data) which holds the user credentials fromUSerAccountclass.cb- The async result callback (AsyncResultCallback).uid- The user specified UID of async result (optional).
Delete a user.
static void deleteUser(AsyncClientClass &aClient, FirebaseApp &app, user_auth_data &auth)Params:
aClient- The async client to work for authentication/authorization task.app- The FirebaseApp class object to handle authentication/authorization task.auth- The user auth data (user_auth_data) which holds the user credentials fromUSerAccountclass.
Delete a user without callback.
static void deleteUser(AsyncClientClass &aClient, FirebaseApp &app, user_auth_data &auth, AsyncResult &aResult)Params:
aClient- The async client to work for authentication/authorization task.app- The FirebaseApp class object to handle authentication/authorization task.auth- The user auth data (user_auth_data) which holds the user credentials fromUSerAccountclass.aResult- The async result (AsyncResult).
Delete a user with callback.
static void deleteUser(AsyncClientClass &aClient, FirebaseApp &app, user_auth_data &auth, AsyncResultCallback cb, const String &uid = "")Params:
aClient- The async client to work for authentication/authorization task.app- The FirebaseApp class object to handle authentication/authorization task.auth- The user auth data (user_auth_data) which holds the user credentials fromUSerAccountclass.cb- The async result callback (AsyncResultCallback).uid- The user specified UID of async result (optional).