Onboarding
Authenticate the atClient with the atServer
Overview
Onboarding is the process of authenticating to the atServer using it's associated atSign. Instead of the traditional username and password, this process uses the atSign's secret cryptographic keys to perform authentication.
Setup Process
Depending on the SDK you are using, the process for onboarding varies.
Dart
In Dart we provide the at_onboarding_cli package which handles onboarding to the atServer via files stored in the ~/.atsign/keys directory
Manual Configuration
Installation
First add the package to your project
Or add the package to your pubspec.yaml
manually:
Usage
Set up the preferences to onboard to the atServer.
Next get the onBoardingService
Finally wait to be onboarded, this returns true once complete.
This can be wrapped to check that the onboard was successful with the code snippet below.
Last updated