amazon_cognito_identity_dart_2_email_otp 3.6.5 amazon_cognito_identity_dart_2_email_otp: ^3.6.5 copied to clipboard
Fork of amazon_cognito_identity_dart_2 with added support for email OTP MFA
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add amazon_cognito_identity_dart_2_email_otp
With Flutter:
$ flutter pub add amazon_cognito_identity_dart_2_email_otp
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
amazon_cognito_identity_dart_2_email_otp: ^3.6.5
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:amazon_cognito_identity_dart_2_email_otp/cognito.dart';
import 'package:amazon_cognito_identity_dart_2_email_otp/sig_v4.dart';