EnrollmentRequest class

The EnrollmentRequest is used by the apps to submit enrollment request for APKAM keys which provides .atKeys specific to an application with restricted access to the namespaces. The application can access only the namespaces which are specified in the enrollment request. If the namespace has Read-Write access then the application is allowed to create/update the data, otherwise, if the namespace has only Read access then the application is allowed to read the data, but cannot create/update the data.

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.

Inheritance

Constructors

EnrollmentRequest({required String appName, required String deviceName, String? apkamPublicKey, required String otp, required Map<String, String> namespaces, String? encryptedAPKAMSymmetricKey, Duration? apkamKeysExpiryDuration})

Properties

apkamKeysExpiryDuration Duration?
getter/setter pair
apkamPublicKey String?
getter/setter pairinherited
appName String
getter/setter pairinherited
deviceName String
getter/setter pairinherited
encryptedAPKAMSymmetricKey String?
getter/setter pair
enrollOperation → EnrollOperationEnum
finalinherited
hashCode int
The hash code for this object.
no setterinherited
namespaces Map<String, String>
getter/setter pair
otp String
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