Index
Properties
auth Time
The authentication time formatted as a UTC string. This is the time the user authenticated (signed in) and not the time the token was refreshed.
claims
The entire payload claims of the ID token including the standard reserved claims as well as the custom claims.
Type declaration
-
[key: string]: any
expiration Time
The ID token expiration time formatted as a UTC string.
issued AtTime
The ID token issued at time formatted as a UTC string.
sign InProvider
The sign-in provider through which the ID token was obtained (anonymous, custom, phone, password, etc). Note, this does not map to provider IDs.
sign InSecond Factor
The type of second factor associated with this session, provided the user was multi-factor authenticated (eg. phone, etc).
token
The Firebase Auth ID token JWT string.
Interface representing ID token result obtained from firebase.User.getIdTokenResult. It contains the ID token JWT string and other helper properties for getting different data associated with the token as well as all the decoded payload claims.
Note that these claims are not to be trusted as they are parsed client side. Only server side verification can guarantee the integrity of the token claims.