visa 1.0.4 visa: ^1.0.4 copied to clipboard
Visa is an OAuth 2.0 package that makes it super easy to add third party authentication to flutter apps.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add visa
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
visa: ^1.0.4
Alternatively, 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:visa/auth-data.dart';
import 'package:visa/discord.dart';
import 'package:visa/engine/debug.dart';
import 'package:visa/engine/oauth.dart';
import 'package:visa/engine/simple-auth.dart';
import 'package:visa/engine/visa.dart';
import 'package:visa/fb.dart';
import 'package:visa/github.dart';
import 'package:visa/google.dart';
import 'package:visa/twitch.dart';