Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: improve onboarding_cli resilience #376

Closed
wants to merge 10 commits into from
2 changes: 1 addition & 1 deletion packages/at_onboarding_cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
## Introduction
at_onboarding_cli is a library to authenticate and onboard atSigns.

## Get Started
## Getting Started

To add this package as the dependency in your pubspec.yaml

Expand Down
6 changes: 3 additions & 3 deletions packages/at_onboarding_cli/example/get_cram_key_example.dart
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import 'package:at_onboarding_cli/src/util/onboarding_util.dart';
import 'package:at_onboarding_cli/src/register_cli/registrar_api_util.dart';

Future<void> main() async {
await OnboardingUtil().requestAuthenticationOtp(
await RegistrarApiUtil().requestAuthenticationOtp(
'your atsign here'); // requires a registered atsign
String cramKey = await OnboardingUtil().getCramKey('your atsign here',
String cramKey = await RegistrarApiUtil().getCramKey('your atsign here',
'verification code'); // verification code received on the registered email
print('Your cram key is: $cramKey');
}
Loading