dio_bearer 0.0.3 copy "dio_bearer: ^0.0.3" to clipboard
dio_bearer: ^0.0.3 copied to clipboard

Dio interceptor for automatic Bearer token management with refresh token support.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add dio_bearer

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

dependencies:
  dio_bearer: ^0.0.3

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:dio_bearer/dio_bearer.dart';
2
likes
150
points
17
downloads

Publisher

unverified uploader

Weekly Downloads

Dio interceptor for automatic Bearer token management with refresh token support.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

dio, flutter, flutter_secure_storage

More

Packages that depend on dio_bearer