IdTokenResult class
Result of parsing an ID token.
This class holds the token and its parsed claims.
Constructors
- IdTokenResult({required String token})
- Constructs an IdTokenResult.
Properties
- authTime → DateTime?
-
Gets the auth time (uses iat).
no setter
-
claims
→ Map<
String, dynamic> ? -
Gets the claims from the token.
no setter
- expirationTime → DateTime?
-
Gets the expiration time.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- issuedAtTime → DateTime?
-
Gets the issued at time.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- signInProvider → String?
-
Gets the sign-in provider (hardcoded to "password").
no setter
- token → String
-
Gets the raw token.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
Returns a string representation of the token result.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited