dartway_auth_google 0.1.0
dartway_auth_google: ^0.1.0 copied to clipboard
Sign in with Google for a DartWay app, reached as dw.signInWithGoogle(): the SDK initialised with a nonce the server checks, and the ID token sent as the sign-in command.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add dartway_auth_googleThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
dartway_auth_google: ^0.1.0Alternatively, 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:dartway_auth_google/dartway_auth_google.dart';