FakeTokenStore class
In-memory TokenStoreInterface implementation for testing.
All data is stored in a simple map and is not persisted across test runs.
- Implemented types
Constructors
Properties
Methods
-
containsKey(
String key) → Future< bool> -
Check if a key exists in the store.
override
-
delete(
String key) → Future< void> -
Delete a single stored value.
override
-
deleteAll(
) → Future< void> -
Delete all values managed by this store.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reset(
) → void - Clear all stored data.
-
retrieve(
String key) → Future< String?> -
Retrieve a stored value, or null if not found.
override
-
store(
String key, String value) → Future< void> -
Store a value securely under the given key.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited