EnrollmentDocumentStore class abstract

Reads and writes an enrollment's sealed @keys document over that enrollment's authenticated connection.

Constructors

EnrollmentDocumentStore()

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

get(String atSign, String enrollmentId) → Future<String?>
The document's JSON text, or null when there is none.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
put(String atSign, String enrollmentId, String document) → Future<void>
Writes document, replacing any document of that name.
toString() → String
A string representation of this object.
inherited
tryLock(String atSign, String enrollmentId, {required Duration ttl}) → Future<ServerMutexLease?>
Takes the lock on the document of enrollmentId for ttl, or returns null while it is held. Every other failure is thrown.

Operators

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