InMemoryAuthSessionStore<TUser> class

Store that keeps everything in fields, for tests.

Inheritance

Constructors

InMemoryAuthSessionStore()

Properties

hashCode → int
The hash code for this object.
no setterinherited
pendingIdentifier ↔ String?
getter/setter pair
rememberedCredentials ↔ RememberedCredentials?
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
session ↔ AuthSession<TUser>?
getter/setter pair

Methods

clearAll() → Future<void>
Removes everything this store keeps (account deleted): session, pending identifier and "remember me".
inherited
clearPendingIdentifier() → Future<void>
override
clearRememberedCredentials() → Future<void>
override
clearSession() → Future<void>
Removes the session and the pending identifier. Keeps the remembered credentials, "remember me" must survive a logout.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readPendingIdentifier() → Future<String?>
override
readRememberedCredentials() → Future<RememberedCredentials?>
override
readSession() → Future<AuthSession<TUser>?>
The saved session, or null when nobody is logged in.
override
savePendingIdentifier(String identifier) → Future<void>
The identifier waiting for its signup code, so the code screen still knows it after a restart.
override
saveRememberedCredentials(RememberedCredentials credentials) → Future<void>
override
saveSession(AuthSession<TUser> session) → Future<void>
override
toString() → String
A string representation of this object.
inherited

Operators

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