LocalSecondary class

Contains methods to execute verb on local secondary storage using executeVerb Set AtClientPreference.isLocalStoreRequired to true and other preferences that your app needs. Delete and Update commands will be synced to the server

Constructors

LocalSecondary(AtClient _atClient, {SecondaryKeyStore? keyStore})

Properties

atChopsKeys → AtChopsKeys?
no setter
enrollment Enrollment?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
keyStore ↔ SecondaryKeyStore?
Local keystore used to store data for the current atSign.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

executeVerb(VerbBuilder builder, {bool? sync}) Future<String?>
Executes a verb builder on the local secondary. If sync is true then a sync request will be queued.
getEncryptionPrivateKey() Future<String?>
get it from atChops if we have it, otherwise try the keystore
getEncryptionPublicKey(String atSign) Future<String?>
get it from atChops if we have it, otherwise try the keystore
getEncryptionSelfKey() Future<String?>
get it from atChops if we have it, otherwise try the keystore
getPkamPrivateKey() Future<String?>
get it from atChops if we have it, otherwise try the keystore
getPkamPublicKey() Future<String?>
get it from atChops if we have it, otherwise try the keystore
getPrivateKey() Future<String?>
getPublicKey() Future<String?>
isEnrollmentAuthorizedForOperation(String key, VerbBuilder verbBuilder) Future<bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
putValue(String key, String value) Future<bool>
Returns true on successfully storing the values into local secondary.
toString() String
A string representation of this object.
inherited

Operators

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