Packagecom.myflashlab.air.extensions.firebase.auth
Classpublic class UserInfo
InheritanceUserInfo Inheritance Object

Represents a collection of standard profile information for a user. Can be used to expose profile information returned by an identity provider, such as Google Sign-In or Facebook Login.



Public Properties
 PropertyDefined By
  displayName : String
[read-only] Returns the user's display name, if available.
UserInfo
  email : String
[read-only] Returns the email address corresponding to the user's account in the specified provider, if available.
UserInfo
  isEmailVerified : Boolean
[read-only] (Android only) Returns true if the user's email is verified.
UserInfo
  phoneNumber : String
[read-only] Returns the phone number corresponding to the user's account, if available, or null if none exists.
UserInfo
  photoUrl : String
[read-only] Returns a Uri to the user's profile picture, if available.
UserInfo
  providerId : String
[read-only] Returns the unique identifier of the provider type that this instance corresponds to.
UserInfo
  userId : String
[read-only] Returns a user identifier as specified by the authentication provider.
UserInfo
Property Detail
displayNameproperty
displayName:String  [read-only]

Returns the user's display name, if available.


Implementation
    public function get displayName():String
emailproperty 
email:String  [read-only]

Returns the email address corresponding to the user's account in the specified provider, if available. Some authentication providers, like Twitter, do not contain an email address. Others, like Facebook Login, contain it optionally.


Implementation
    public function get email():String
isEmailVerifiedproperty 
isEmailVerified:Boolean  [read-only]

(Android only) Returns true if the user's email is verified. This property does not work on the iOS side as it's not yet available on Firebase SDK to begin with!


Implementation
    public function get isEmailVerified():Boolean
phoneNumberproperty 
phoneNumber:String  [read-only]

Returns the phone number corresponding to the user's account, if available, or null if none exists.


Implementation
    public function get phoneNumber():String
photoUrlproperty 
photoUrl:String  [read-only]

Returns a Uri to the user's profile picture, if available.


Implementation
    public function get photoUrl():String
providerIdproperty 
providerId:String  [read-only]

Returns the unique identifier of the provider type that this instance corresponds to.


Implementation
    public function get providerId():String
userIdproperty 
userId:String  [read-only]

Returns a user identifier as specified by the authentication provider. For example, if this object corresponds to a Google user, returns a Google user ID.


Implementation
    public function get userId():String