public interface

AdditionalUserInfo

implements Parcelable
com.google.firebase.auth.AdditionalUserInfo

Class Overview

Object to hold IDP-specific data for the user if the provider is one of Facebook, Github, Google, or Twitter.

Summary

[Expand]
Inherited Constants
From interface android.os.Parcelable
Public Methods
abstract Map<String, Object> getProfile()
Returns a Map containing IDP-specific user data.
abstract String getProviderId()
Returns the provider ID for the user.
abstract String getUsername()
Returns the username if the provider is Github or Twitter
abstract boolean isNewUser()
Returns whether the user is new or existing
[Expand]
Inherited Methods
From interface android.os.Parcelable

Public Methods

public abstract Map<String, Object> getProfile ()

Returns a Map containing IDP-specific user data.

Returns
Map<String, Object>

public abstract String getProviderId ()

Returns the provider ID for the user.

Returns
String

public abstract String getUsername ()

Returns the username if the provider is Github or Twitter

Returns
String

public abstract boolean isNewUser ()

Returns whether the user is new or existing

Returns
boolean