oauth2_refresher 1.0.4 copy "oauth2_refresher: ^1.0.4" to clipboard
oauth2_refresher: ^1.0.4 copied to clipboard

A Dart library for managing OAuth2 token refreshing with easy integration and support for Dio and JWT decoding.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add oauth2_refresher

With Flutter:

 $ flutter pub add oauth2_refresher

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

dependencies:
  oauth2_refresher: ^1.0.4

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:oauth2_refresher/oauth2_refresher.dart';
1
likes
160
points
32
downloads

Publisher

verified publisherdart-weider.top

Weekly Downloads

A Dart library for managing OAuth2 token refreshing with easy integration and support for Dio and JWT decoding.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

dio, hive, jwt_decoder

More

Packages that depend on oauth2_refresher