oh_auth_2 1.0.3+1 copy "oh_auth_2: ^1.0.3+1" to clipboard
oh_auth_2: ^1.0.3+1 copied to clipboard

A flutter library for the industry-standard protocol for authorization.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add oh_auth_2

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  oh_auth_2: ^1.0.3+1

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:oh_auth_2/access_token_response_listener.dart';
import 'package:oh_auth_2/access_token_service.dart';
import 'package:oh_auth_2/auth_view.dart';
import 'package:oh_auth_2/authenticator.dart';
import 'package:oh_auth_2/exceptions.dart';
import 'package:oh_auth_2/models/token.dart';
import 'package:oh_auth_2/models/token_generated.dart';
0
likes
40
pub points
0%
popularity

Publisher

unverified uploader

A flutter library for the industry-standard protocol for authorization.

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

flutter, flutter_webview_plugin, http, json_annotation

More

Packages that depend on oh_auth_2