public class
UserMetadata
extends Object
Contains additional metadata associated with a user account.
Public Constructor Summary
UserMetadata(long creationTimestamp)
|
|
UserMetadata(long creationTimestamp, long lastSignInTimestamp, long lastRefreshTimestamp)
|
Public Method Summary
long |
getCreationTimestamp()
Returns the time at which the account was created.
|
long |
getLastRefreshTimestamp()
Returns the time at which the user was last active (ID token refreshed).
|
long |
getLastSignInTimestamp()
Returns the time at which the user last signed in.
|
Inherited Method Summary
Object |
clone()
|
boolean |
equals(Object arg0)
|
void |
finalize()
|
final Class<?> |
getClass()
|
int |
hashCode()
|
final void |
notify()
|
final void |
notifyAll()
|
String |
toString()
|
final void |
wait(long arg0, int arg1)
|
final void |
wait(long arg0)
|
final void |
wait()
|
Public Constructors
public UserMetadata (long creationTimestamp)
public UserMetadata (long creationTimestamp, long lastSignInTimestamp, long lastRefreshTimestamp)
Public Methods
public long getCreationTimestamp ()
Returns the time at which the account was created.
Returns
- Milliseconds since epoch timestamp.
public long getLastRefreshTimestamp ()
Returns the time at which the user was last active (ID token refreshed).
Returns
- Milliseconds since epoch timestamp, or 0 if the user was never active.
public long getLastSignInTimestamp ()
Returns the time at which the user last signed in.
Returns
- Milliseconds since epoch timestamp, or 0 if the user has never signed in.