cognito_idp_sign_in 0.1.1
cognito_idp_sign_in: ^0.1.1 copied to clipboard
Flutter wrapper over flutter_web_auth_2 for AWS Cognito OAuth 2.0/PKCE sign-in via the Hosted UI and common third-party IdPs.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add cognito_idp_sign_inThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
cognito_idp_sign_in: ^0.1.1Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:cognito_idp_sign_in/cognito_idp_sign_in.dart';