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.
static void initializeApp(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 is the struct that holds the user sign-in credentials and tokens that obtained from the authentication/authorization classes via getAuth function.
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).
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).
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 fromUSerAccount
class.
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 fromUSerAccount
class.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 fromUSerAccount
class.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 fromUSerAccount
class.
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 fromUSerAccount
class.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 fromUSerAccount
class.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 fromUSerAccount
class.
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 fromUSerAccount
class.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 fromUSerAccount
class.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 fromUSerAccount
class.
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 fromUSerAccount
class.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 fromUSerAccount
class.cb
- The async result callback (AsyncResultCallback).uid
- The user specified UID of async result (optional).