EnrollmentSession class abstract
A PKAM-authenticated enrollment on the atServer.
Constructors
Properties
- documents → EnrollmentDocumentStore
-
This enrollment's document, on this session's connection.
no setter
- enrollmentId → String
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- pointers → EnrollmentPointerStore
-
Pointer writes on this session's connection; reads are anonymous.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
atKeys(
) → Future< Map< String, dynamic> > - The @keys the activation that opened this session minted, as a document without any APKAM private key.
-
clearCompletionDue(
) → Future< void> - Deletes this enrollment's completion-due record. One the atServer reports as not found counts as deleted.
-
close(
) → Future< void> -
completeActivation(
Map< String, dynamic> atKeys) → Future<void> -
Completes the activation this session's enrollment was created by:
publishes the encryption public key
atKeysholds, replacing any that is published, then deletes the atSign's CRAM secret. WhenatKeysholds no encryption public key it publishes nothing and only deletes the CRAM secret. -
completionDue(
) → Future< CompletionDue?> - What this enrollment's completion-due record says, or null when there is none and the completion is not due. Every failure other than the record being absent is thrown.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
openClient(
WrittenAtKeysIo keysIo) → Future< AtClient> -
A client running as this enrollment, reading its @keys from
keysIoand persisting every change through it. The client takes over this session's connection and stops it when the client stops; once it is opened, do not close the session. When opening throws, the opener may already have stopped a client it built, which releases the connection; the caller still closes the session, which is safe after such a stop. -
publishedEncryptionKey(
Map< String, dynamic> atKeys) → Future<PublishedEncryptionKey> -
How the encryption public key the atServer publishes stands against the
one
atKeysholds. A lookup that fails other than with the key not found throws. -
recordCompletionDue(
CompletionDue state) → Future< void> -
Writes
stateto this enrollment's completion-due record, which says that the completion of the activation that created it is due, replacing what the record held. From at_server p3.15.0 no other enrollment can read or write the record. -
revokeOtherEnrollments(
) → Future< void> - Revokes every approved enrollment of the atSign other than this one.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited