AtClientService class
Constructors
Properties
- atClientAuthenticator ↔ AtClientAuthenticator?
-
getter/setter pair
- atClientManager ↔ AtClientManager
-
getter/setter pair
- atLookupImpl ↔ AtLookupImpl
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- keyChainManager ↔ KeyChainManager
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
authenticate(
String atsign, AtClientPreference atClientPreference, {OnboardingStatus? status, String? jsonData, String? decryptKey}) → Future< bool> -
Returns
true
on successfully authenticatingatsign
withcramSecret
/privateKey
. if pkam is successful, encryption keys will be set for the user. -
config(
{→ Future< })void> -
cramAuth(
String cramSecret) → Future< bool> -
createAtChops(
Map< String, String> decryptedAtKeys) → AtChops - Creates and returns an an AtChops instance
-
getKeyRestorePolicy(
String atSign) → Future< OnboardingStatus> -
Returns
OnboardingStatus
of the atsign by checking it with remote server. -
getKeysFromKeyChainManager(
String atSign) → Future< Map< String, String> > - Returns the PKAM key-pair, encryption key-pair and self encryption key from the KeyChain Manager
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onboard(
{required AtClientPreference atClientPreference, String? atsign}) → Future< bool> -
Returns
true
on successfully completing onboarding. ThrowsOnboardingStatus.atSignNotFound
exception if atsign not found. ThrowsOnboardingStatus.privateKeyNotFound
exception if privatekey not found. -
persistKeys(
String atSign) → Future< bool> -
Returns
true
on persisting keys into keystore. -
pkamAuth(
String privateKey) → Future< bool> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited