firebase:: auth:: UserInfoInterface
This is an abstract class.#include <user.h>Interface implemented by each identity provider.
Summary
Inheritance
Direct Known Subclasses:firebase::auth::User
Constructors and Destructors |
|
|---|---|
~UserInfoInterface()
|
Public functions |
|
|---|---|
DisplayName() const =0
|
virtual std::string
Gets the display name associated with the user, if any.
|
Email() const =0
|
virtual std::string
Gets email associated with the user, if any.
|
PhotoUrl() const =0
|
virtual std::string
Gets the photo url associated with the user, if any.
|
ProviderId() const =0
|
virtual std::string
Gets the provider ID for the user (For example, "Facebook").
|
UID() const =0
|
virtual std::string
Gets the unique user ID for the user.
|
Public functions
DisplayName
virtual std::string DisplayName() const =0
Gets the display name associated with the user, if any.
virtual std::string Email() const =0
Gets email associated with the user, if any.
PhotoUrl
virtual std::string PhotoUrl() const =0
Gets the photo url associated with the user, if any.
ProviderId
virtual std::string ProviderId() const =0
Gets the provider ID for the user (For example, "Facebook").
UID
virtual std::string UID() const =0
Gets the unique user ID for the user.
Note:The user's ID, unique to the Firebase project. Do NOT use this value to authenticate with your backend server, if you have one. Use User::Token() instead.
~UserInfoInterface
virtual ~UserInfoInterface()

