A decoded and verified Firebase token. Can be used to get the uid and other user attributes
available in the token. See verifyIdToken(String)
and
verifySessionCookie(String)
for details on how to obtain an instance of
this class.
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 this token.
|
String |
getName()
Returns the user's display name.
|
String |
getPicture()
Returns the Uri string of the user's profile photo.
|
String |
getTenantId()
Returns the tenant ID for this token.
|
String |
getUid()
Returns the Uid for 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 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 getTenantId ()
Returns the tenant ID for this token.
public String getUid ()
Returns the Uid for this token.
public boolean isEmailVerified ()
Indicates if the email address returned by getEmail()
has been verified as good.