FirebaseToken

public final class FirebaseToken extends Object

Implementation of a Parsed Firebase Token returned by verifyIdToken(String). It can used to get the uid and other attributes of the user provided in the Token.

Public Method Summary

Map<String, Object>
getClaims()
Returns a map of all of the claims on this token.
String
getEmail()
Returns the e-mail address for this user, or null if it's unavailable.
String
getIssuer()
Returns the Issuer for the this token.
String
getName()
Returns the user's display name.
String
getPicture()
Returns the Uri string of the user's profile photo.
String
getUid()
Returns the Uid for the this token.
boolean
isEmailVerified()
Indicates if the email address returned by getEmail() has been verified as good.

Inherited Method Summary

Public Methods

public Map<String, Object> getClaims ()

Returns a map of all of the claims on this token.

public String getEmail ()

Returns the e-mail address for this user, or null if it's unavailable.

public String getIssuer ()

Returns the Issuer for the this token.

public String getName ()

Returns the user's display name.

public String getPicture ()

Returns the Uri string of the user's profile photo.

public String getUid ()

Returns the Uid for the this token.

public boolean isEmailVerified ()

Indicates if the email address returned by getEmail() has been verified as good.

Send feedback about...

Need help? Visit our support page.