easy_oauth 1.0.0 easy_oauth: ^1.0.0 copied to clipboard
Another Flutter OAuth package for simplifying OAuth operations
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add easy_oauth
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
easy_oauth: ^1.0.0
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:easy_oauth/auth_code_information.dart';
import 'package:easy_oauth/flutter_auth.dart';
import 'package:easy_oauth/model/config.dart';
import 'package:easy_oauth/oauth.dart';
import 'package:easy_oauth/oauth_token.dart';
import 'package:easy_oauth/token.dart';