AtAuthImpl class

Implemented types

Constructors

AtAuthImpl({AtLookUp? atLookUp, AtChops? atChops, CramAuthenticator? cramAuthenticator, PkamAuthenticator? pkamAuthenticator, AtEnrollmentBase? atEnrollmentBase})

Properties

atChops ↔ AtChops?
getter/setter pairoverride
atEnrollmentBase AtEnrollmentBase?
getter/setter pair
atLookUp ↔ AtLookUp?
getter/setter pair
cramAuthenticator ↔ CramAuthenticator?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
pkamAuthenticator ↔ PkamAuthenticator?
getter/setter pair
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
override
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
override
toString() String
A string representation of this object.
inherited

Operators

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