firebase::auth::UserInfoInterface

#include <user.h>

Interface implemented by each identity provider.

Summary

Inheritance

Direct Known Subclasses:firebase::auth::User

Constructors and Destructors

~UserInfoInterface()

Public functions

display_name() const
virtual std::string
Gets the display name associated with the user, if any.
email() const
virtual std::string
Gets email associated with the user, if any.
phone_number() const
virtual std::string
Gets the phone number for the user, in E.164 format.
photo_url() const
virtual std::string
Gets the photo url associated with the user, if any.
provider_id() const
virtual std::string
Gets the provider ID for the user (For example, "Facebook").
uid() const
virtual std::string
Gets the unique Firebase user ID for the user.

Public functions

display_name

virtualstd::stringdisplay_name()const

Gets the display name associated with the user, if any.

email

virtualstd::stringemail()const

Gets email associated with the user, if any.

phone_number

virtualstd::stringphone_number()const

Gets the phone number for the user, in E.164 format.

photo_url

virtualstd::stringphoto_url()const

Gets the photo url associated with the user, if any.

provider_id

virtualstd::stringprovider_id()const

Gets the provider ID for the user (For example, "Facebook").

~UserInfoInterface

virtual~UserInfoInterface()

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.