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
FIREBASE_DEPRECATED std::string
Deprecated. Renamed to display_name().
Gets the display name associated with the user, if any.
Email() const
FIREBASE_DEPRECATED std::string
Deprecated. Renamed to email().
Gets email associated with the user, if any.
PhotoUrl() const
FIREBASE_DEPRECATED std::string
Deprecated. Renamed to photo_url().
Gets the photo url associated with the user, if any.
ProviderId() const
FIREBASE_DEPRECATED std::string
Deprecated. Renamed to provider_id().
Gets the provider ID for the user (For example, "Facebook").
UID() const
FIREBASE_DEPRECATED std::string
Deprecated. Renamed to uid().
Gets the unique user ID for the user.
display_name() 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.
photo_url() const =0
virtual std::string
Gets the photo url associated with the user, if any.
provider_id() const =0
virtual std::string
Gets the provider ID for the user (For example, "Facebook").
uid() const =0
virtual std::string
Gets the unique Firebase user ID for the user.

Public functions

DisplayName

FIREBASE_DEPRECATED std::string DisplayName() const 

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

Deprecated. Renamed to display_name().

Email

FIREBASE_DEPRECATED std::string Email() const 

Gets email associated with the user, if any.

Deprecated. Renamed to email().

PhotoUrl

FIREBASE_DEPRECATED std::string PhotoUrl() const 

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

Deprecated. Renamed to photo_url().

ProviderId

FIREBASE_DEPRECATED std::string ProviderId() const 

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

Deprecated. Renamed to provider_id().

UID

FIREBASE_DEPRECATED std::string UID() const 

Gets the unique user ID for the user.

Deprecated. Renamed to uid().

display_name

virtual std::string display_name() const =0

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

email

virtual std::string email() const =0

Gets email associated with the user, if any.

photo_url

virtual std::string photo_url() const =0

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

provider_id

virtual std::string provider_id() const =0

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

uid

virtual std::string uid() const =0

Gets the unique Firebase 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::GetToken() instead.

~UserInfoInterface

virtual  ~UserInfoInterface()

Send feedback about...

Need help? Visit our support page.