EnrollmentRequest class abstract

The BaseEnrollmentRequest class encapsulates shared fields between the InitialEnrollmentRequest and EnrollmentRequest.

The FirstEnrollmentRequest is used when the app is onboarded for the first time. The request is sent to the server via the CRAM authenticated connection and is auto approved.

The EnrollmentRequest is used by the other apps to authenticate. This request is sent to the server and subsequently notified to apps with access to the "__manage" namespace. Upon approval, the requesting app is authenticated and granted authorization to access the specified namespaces in the request. Conversely, if the request is disapproved, the requesting app is denied login access.

Implementers

Constructors

EnrollmentRequest({required String atSign, required String appName, required String deviceName, String? apkamPublicKey, ({SigningAlgoType algorithm, String privateKey, String publicKey})? advertisedSigningKey, AtRootDomain rootDomain = const AtRootDomain("root.atsign.org", 64)})

Properties

advertisedSigningKey → ({SigningAlgoType algorithm, String privateKey, String publicKey})?
A signing keypair this enrollment owns from birth, which _apsk advertises instead of apkamPublicKey and which this request files into the enrollment's key material.
final
apkamPublicKey ↔ String?
getter/setter pair
appName ↔ String
getter/setter pair
atSign ↔ String
getter/setter pair
deviceName ↔ String
getter/setter pair
enrollOperation → EnrollOperationEnum
final
hashCode → int
The hash code for this object.
no setterinherited
rootDomain ↔ AtRootDomain
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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