AuthSession class final
Constructors
- AuthSession({required String accessToken, required String accessTokenExpiresAt, required int claimsRevision, required String refreshToken, EndUser? user})
-
const
-
AuthSession.fromJson(Map<
String, Object?> json) -
factory
Properties
- accessToken → String
-
Compact JWT bearer token for data-plane requests.
final
- accessTokenExpiresAt → String
-
RFC 3339 UTC timestamp with six fractional digits, e.g. 2026-08-17T09:30:00.000000Z
final
- claimsRevision → int
-
Project-wide custom-claim revision included in this access token; zero is the initial snapshot.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- refreshToken → String
-
Opaque rotating refresh token; single-use (reuse revokes the session).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- user → EndUser?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited