The newest version of Google Identity Toolkit has been released as Firebase Authentication. It includes upgraded client SDKs, open source UI libraries, session management and integrated email sending service for forgotten password flows.

New projects should use Firebase Authentication. To migrate an existing project from Identity Toolkit to Firebase Authentication, see the migration guide.

GitkitUser

public class GitkitUser

Class that holds the basic account information of the user.

Nested Class Summary

class GitkitUser.UserProfile Data holder for user profile, including email, display name, photo URL, and ID provider. 

Inherited Constant Summary

Field Summary

public static final Creator<GitkitUser> CREATOR

Public Constructor Summary

GitkitUser(GitkitUser.UserProfile userProfile, String localId)

Public Method Summary

int
static GitkitUser
fromJsonString(String jsonString)
String
String
IdProvider
String
String
GitkitUser.UserProfile
String
void
writeToParcel(Parcel parcel, int flags)

Fields

public static final Creator<GitkitUser> CREATOR

Public Constructors

public GitkitUser (GitkitUser.UserProfile userProfile, String localId)

Public Methods

public int describeContents ()

public static GitkitUser fromJsonString (String jsonString)

public String getDisplayName ()

Returns
  • the display name of the user.

public String getEmail ()

Returns
  • the email address of the user.

public IdProvider getIdProvider ()

Returns
  • the IdProvider the user chose to sign in with. null means the user signed in with password.

public String getLocalId ()

Returns
  • the unique ID for the user.

public String getPhotoUrl ()

Returns
  • the profile photo URL of the user.

public GitkitUser.UserProfile getUserProfile ()

Returns

public String toString ()

public void writeToParcel (Parcel parcel, int flags)