InMemoryIdentityStore class

An in-memory PdfIdentityStore - identities live only for the session. Useful for tests and for a "don't remember me" flow.

Implemented types

Constructors

InMemoryIdentityStore()

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

delete(String id) → Future<void>
Removes the identity stored under id (a no-op when absent).
override
ids() → Future<List<String>>
The ids of every stored identity.
override
load(String id) → Future<PdfSigningIdentity?>
Loads the identity stored under id, or null when there is none.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
save(String id, PdfSigningIdentity identity) → Future<void>
Stores identity under id, replacing any existing one.
override
toString() → String
A string representation of this object.
inherited

Operators

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