at_auth 1.0.1 copy "at_auth: ^1.0.1" to clipboard
at_auth: ^1.0.1 copied to clipboard

Package that implements common logic for onboarding/authenticating an atsign to a secondary server

example/at_auth_example.dart

import 'package:at_auth/at_auth.dart';

/// dart at_auth_example.dart <atsign> <path_to_atkeys_file>
void main(List<String> args) async {
  final atAuth = AtAuthImpl();
  final atSign = args[0];
  final atAuthRequest = AtAuthRequest(atSign)
    ..rootDomain = 'vip.ve.atsign.zone'
    ..atKeysFilePath = args[1];
  final atAuthResponse = await atAuth.authenticate(atAuthRequest);
  print('atAuthResponse: $atAuthResponse');
}
0
likes
0
pub points
59%
popularity

Publisher

verified publisheratsign.org

Package that implements common logic for onboarding/authenticating an atsign to a secondary server

Homepage
Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

at_chops, at_commons, at_demo_data, at_lookup, at_utils, crypton, meta

More

Packages that depend on at_auth