public interface

AdditionalUserInfo

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

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

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