TomInMemorySecretStore class
Volatile TomSecretStore — secrets live only for the session.
A run against it mints a new settings key every launch, and the existing settings container then refuses to open, which is exactly what a lost device secret means.
- Implemented types
- Annotations
-
- @visibleForTesting
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clear(
) → Future< void> - Forgets everything — the wiped-keychain case.
-
delete(
String handle) → Future< void> -
Forgets the secret at
handle, if any.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
read(
String handle) → Future< String?> -
The secret stored under
handle, or null when nothing is.override -
toString(
) → String -
A string representation of this object.
inherited
-
write(
String handle, String secret) → Future< void> -
Stores
secretunderhandle, replacing any current value.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited