IdTokenResult class

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.

See https://firebase.google.com/docs/reference/js/firebase.auth.IDTokenResult.html

Properties

authTime DateTime
The authentication time.
no setter
claims Map<String, dynamic>
The entire payload claims of the ID token including the standard reserved claims as well as the custom claims.
no setter
expirationTime DateTime
The ID token expiration time.
no setter
hashCode int
The hash code for this object.
no setterinherited
issuedAtTime DateTime
The ID token issued at time.
no setter
jsObject → IdTokenResultImpl
JS object.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
signInProvider String
The sign-in provider through which the ID token was obtained (anonymous, custom, phone, password, etc).
no setter
token String
The Firebase Auth ID token JWT string.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited