firebase::auth::AdditionalUserInfo

#include <user.h>

Additional user data returned from an identity provider.

Summary

Public attributes

profile
std::map<Variant,Variant >
Additional identity-provider specific information.
provider_id
std::string
The provider identifier.
updated_credential
On a nonce-based credential link failure where the user has already linked to the provider, the Firebase auth service may provide an updatedCredential.
user_name
std::string
The name of the user.

Public attributes

profile

std::map<Variant,Variant>firebase::auth::AdditionalUserInfo::profile

Additional identity-provider specific information.

Most likely a hierarchical key-value mapping, like a parsed JSON file. Note we use map instead of unordered_map to support older compilers.

provider_id

std::stringfirebase::auth::AdditionalUserInfo::provider_id

The provider identifier.

updated_credential

Credentialfirebase::auth::AdditionalUserInfo::updated_credential

On a nonce-based credential link failure where the user has already linked to the provider, the Firebase auth service may provide an updatedCredential.

If is_valid returns true on this credential, then it may be passed to a newfirebase::auth::Auth::SignInWithCredential request to sign the user in with the provider.

user_name

std::stringfirebase::auth::AdditionalUserInfo::user_name

The name of the user.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2024-01-23 UTC.