AtAuth class abstract

Interface for onboarding and authentication to a secondary server of an atsign

Constructors

AtAuth()

Properties

atChops ↔ AtChops?
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(AtAuthRequest atAuthRequest) Future<AtAuthResponse>
Authenticate method is invoked when an atsign wants to authenticate to secondary server with an .atKeys file Step 1. Read the keys from atAuthRequest.atAuthKeys or atAuthRequest.atKeysFilePath Step 2 Perform pkam authentication
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onboard(AtOnboardingRequest atOnboardingRequest, String cramSecret) Future<AtOnboardingResponse>
Onboard method is invoked when an atsign is activated for the first time from a client app. Step 1. Perform cram auth Step 2. Generate pkam, encryption keypairs and apkam symmetric key Step 3. Update pkam public key to secondary Step 4. Perform pkam auth Step 5. Update encryption public key to server and delete cram secret from server Set atOnboardingRequest.publicKeyId if pkam auth mode is PkamAuthMode.sim
toString() String
A string representation of this object.
inherited

Operators

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