AtClientService class
Constructors
Properties
- atClient ↔ AtClientImpl?
-
getter/setter pair
- atLookUp ↔ AtLookupImpl
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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. -
cramAuth(
String cramSecret) → Future< bool> -
deleteAtSignFromKeychain(
String atsign) → Future< void> -
getAESKey(
String atsign) → Future< String?> -
getAtSign(
) → Future< String?> -
getAtsignList(
) → Future< List< String> ?> -
getAtsignsWithStatus(
) → Future< Map< String, bool?> > -
getEncryptedKeys(
String atsign) → Future< Map< String, String> > -
getEncryptionPrivateKey(
String atSign) → Future< String?> -
getEncryptionPublicKey(
String atSign) → Future< String?> -
getKeyRestorePolicy(
String atSign) → Future< OnboardingStatus> - Returns OnboardingStatus of the atsign by checking it with remote server.
-
getPkamPrivateKey(
String atSign) → Future< String?> -
getPkamPublicKey(
String atSign) → Future< String?> -
getPrivateKey(
String atSign) → Future< String?> -
getPublicKey(
String atSign) → Future< String?> -
getSelfEncryptionKey(
String atSign) → Future< String?> -
makeAtSignPrimary(
String atsign) → Future< bool> -
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. Throws OnboardingStatus.ATSIGN_NOT_FOUND exception if atsign not found. Throws OnboardingStatus.PRIVATE_KEY_NOT_FOUND exception if privatekey not found. -
persistKeys(
String atSign) → Future< bool> -
Returns
true
on persisting keys into keystore. -
pkamAuth(
String privateKey) → Future< bool> -
resetAtSignFromKeychain(
String atsign) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited