InMemoryRevokeStore class
Simple in-memory implementation of RevokeStore useful for tests.
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
-
close(
) → Future< void> - Disposes underlying resources.
-
list(
String namespace) → Future< List< RevokeEntry> > -
Lists revoke entries for the given
namespace. Implementations should include expired entries; callers can run pruneExpired to clean them up. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pruneExpired(
String namespace, DateTime clock) → Future< int> - Removes expired entries and returns the number of records purged.
-
toString(
) → String -
A string representation of this object.
inherited
-
upsertAll(
List< RevokeEntry> entries) → Future<List< RevokeEntry> > -
Persists or updates the provided revoke
entries.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited