IdTokenResult class
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
- IdTokenResult(PigeonIdTokenResult _data)
Properties
- authTime → DateTime?
-
The authentication time formatted as UTC string. This is the time the user
authenticated (signed in) and not the time the token was refreshed.
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
- 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