FFXPersistedSession class

A persisted session: the token triple plus the last-known user snapshot.

Constructors

FFXPersistedSession({required String accessToken, required String accessTokenExpiresAt, required String refreshToken, required int claimsRevision, Map<String, Object?>? user})
const
FFXPersistedSession.fromJson(Map<String, Object?> json)
factory

Properties

accessToken → String
final
accessTokenExpiresAt → String
RFC 3339 UTC expiry of accessToken, exactly as the server sent it.
final
claimsRevision → int
final
hashCode → int
The hash code for this object.
no setterinherited
refreshToken → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
user → Map<String, Object?>?
Wire-shaped snapshot of the signed-in user at last save; null when the server session was adopted without a user payload.
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
withUser(Map<String, Object?>? user) → FFXPersistedSession

Operators

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