firebase:: auth:: AdditionalUserInfo
#include <user.h>
Additional user data returned from an identity provider.
Summary
Public attributes |
|
---|---|
profile
|
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 updated Credential.
|
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::string firebase::auth::AdditionalUserInfo::provider_id
The provider identifier.
updated_credential
Credential firebase::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 updated Credential.
If is_valid returns true on this credential, then it may be passed to a new firebase::auth::Auth::SignInWithCredential request to sign the user in with the provider.
user_name
std::string firebase::auth::AdditionalUserInfo::user_name
The name of the user.