AdditionalUserInfo

public interface AdditionalUserInfo implements Parcelable

Object that contains additional user information as a result of a successful sign-in, link, or re-authentication operation.

Available information contained within depends on the provider with which a sign-in, link, or re-authenticate operation was most recently done.

Inherited Constant Summary

Public Method Summary

abstract Map<StringObject>
getProfile()
Returns a Map containing IDP-specific user data if the provider is one of Facebook, Github, Google, or Twitter.
abstract String
getProviderId()
Returns the provider ID for specifying which provider the information in getProfile() is for.
abstract String
getUsername()
Returns the username if the provider is Github or Twitter
abstract boolean
isNewUser()
Returns whether the user is new or existing

Inherited Method Summary

Public Methods

public abstract Map<StringObject> getProfile ()

Returns a Map containing IDP-specific user data if the provider is one of Facebook, Github, Google, or Twitter.

public abstract String getProviderId ()

Returns the provider ID for specifying which provider the information in getProfile() is for.

public abstract String getUsername ()

Returns the username if the provider is Github or Twitter

public abstract boolean isNewUser ()

Returns whether the user is new or existing