AtEnrollment class abstract

An abstract class for submitting and managing the enrollment requests.

Constructors

AtEnrollment.create()
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
progressStream → Stream<ProgressEvent>
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

approve(EnrollmentRequestDecision enrollmentRequestDecision, AtLookUp atLookUp, {required ApproverKeyMaterial approverKeys}) → Future<AtEnrollmentResponse>
Approves an enrollment request.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
submit(EnrollmentRequest enrollmentRequest, AtLookUp atLookUp) → Future<AtEnrollmentResponse>
Submits an enrollment request.
toString() → String
A string representation of this object.
inherited
waitForApproval(AtEnrollmentResponse enrollmentResponse, {bool logProgress = defaultLogProgress, int maxRetries = defaultMaxRetries, Duration retryInterval = defaultRetryInterval, required AtLookupMuxable atLookup}) → Future<void>
Polls for the approval or denial of an enrollment request, and on approval collects and decrypts what the approval released.

Operators

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

Constants

defaultLogProgress → const bool
Whether waitForApproval narrates itself on progressStream when a caller states no preference.
defaultMaxRetries → const int
How many consecutive failures to reach the atServer waitForApproval rides out when a caller states no budget of its own. It has never bounded the wait for a decision — see waitForApproval.
defaultRetryInterval → const Duration
How long waitForApproval leaves between polls when a caller states no interval of its own.