public final class

FirebaseToken

extends Object
java.lang.Object
   ↳ com.google.firebase.auth.FirebaseToken

Class Overview

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.

Summary

Public Methods
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 getTenantId()
Returns the tenant ID for the this token.
String getUid()
Returns the Uid for the this token.
boolean isEmailVerified()
Indicates if the email address returned by getEmail() has been verified as good.
[Expand]
Inherited Methods
From class java.lang.Object

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 getTenantId ()

Returns the tenant ID for the this token.

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.