IdTokenResult class abstract
Interface representing ID token result obtained from 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.
Constructors
Properties
- authTime → DateTime?
-
The time the user authenticated (signed in).
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 time when the ID token expires.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- issuedAtTime → DateTime?
-
The time when ID token was issued.
no setter
- 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). Note, this does not map to provider IDs.
no setter
- signInSecondFactor → String?
-
The type of second factor associated with this session, provided the user
was multi-factor authenticated (eg. phone, 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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited