Stay organized with collections
Save and categorize content based on your preferences.
firebase::auth::AuthResult
#include <user.h>
The result of operations that can affect authentication state.
Summary
Public attributes
|
additional_user_info
|
Identity-provider specific information for the user, if the provider is one of Facebook, GitHub, Google, or Twitter.
|
credential
|
A Credential instance for the recently signed-in user.
|
user
|
The currently signed-in User, or an invalid User if there isn't one (i.e.
|
Public attributes
additional_user_info
AdditionalUserInfo firebase::auth::AuthResult::additional_user_info
Identity-provider specific information for the user, if the provider is one of Facebook, GitHub, Google, or Twitter.
credential
Credential firebase::auth::AuthResult::credential
A Credential instance for the recently signed-in user.
This is not supported on desktop platforms.
user
User firebase::auth::AuthResult::user
The currently signed-in User, or an invalid User if there isn't one (i.e.
if the user is signed-out then is_valid() will return false).
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-01-23 UTC.
[null,null,["Last updated 2024-01-23 UTC."],[],[],null,["# firebase::auth::AuthResult Struct Reference\n\nfirebase::auth::AuthResult\n==========================\n\n\n`#include \u003cuser.h\u003e`\n\nThe result of operations that can affect authentication state.\n\nSummary\n-------\n\n| ### Public attributes ||\n|----------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [additional_user_info](#structfirebase_1_1auth_1_1_auth_result_1aef94bf126d5ef8027d3dc075cf35f856) | [AdditionalUserInfo](/docs/reference/cpp/struct/firebase/auth/additional-user-info#structfirebase_1_1auth_1_1_additional_user_info) Identity-provider specific information for the user, if the provider is one of Facebook, GitHub, Google, or Twitter. |\n| [credential](#structfirebase_1_1auth_1_1_auth_result_1a44b78f50ef2707b6cb731b5163d5826b) | [Credential](/docs/reference/cpp/class/firebase/auth/credential#classfirebase_1_1auth_1_1_credential) A [Credential](/docs/reference/cpp/class/firebase/auth/credential#classfirebase_1_1auth_1_1_credential) instance for the recently signed-in user. |\n| [user](#structfirebase_1_1auth_1_1_auth_result_1a531cac980c6c47951ceeb67e3870ea94) | [User](/docs/reference/cpp/class/firebase/auth/user#classfirebase_1_1auth_1_1_user) The currently signed-in [User](/docs/reference/cpp/class/firebase/auth/user#classfirebase_1_1auth_1_1_user), or an invalid [User](/docs/reference/cpp/class/firebase/auth/user#classfirebase_1_1auth_1_1_user) if there isn't one (i.e. |\n\nPublic attributes\n-----------------\n\n### additional_user_info\n\n```c++\nAdditionalUserInfo firebase::auth::AuthResult::additional_user_info\n``` \nIdentity-provider specific information for the user, if the provider is one of Facebook, GitHub, Google, or Twitter. \n\n### credential\n\n```c++\nCredential firebase::auth::AuthResult::credential\n``` \nA [Credential](/docs/reference/cpp/class/firebase/auth/credential#classfirebase_1_1auth_1_1_credential) instance for the recently signed-in user.\n\nThis is not supported on desktop platforms. \n\n### user\n\n```c++\nUser firebase::auth::AuthResult::user\n``` \nThe currently signed-in [User](/docs/reference/cpp/class/firebase/auth/user#classfirebase_1_1auth_1_1_user), or an invalid [User](/docs/reference/cpp/class/firebase/auth/user#classfirebase_1_1auth_1_1_user) if there isn't one (i.e.\n\nif the user is signed-out then is_valid() will return false)."]]