auth_http 0.0.5 copy "auth_http: ^0.0.5" to clipboard
auth_http: ^0.0.5 copied to clipboard

A package that transmits authentication token as header and retry refreshToken in case of authentication failure

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add auth_http

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

dependencies:
  auth_http: ^0.0.5

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:auth_http/auth_http.dart';
1
likes
105
points
57
downloads

Publisher

unverified uploader

Weekly Downloads

A package that transmits authentication token as header and retry refreshToken in case of authentication failure

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

cupertino_icons, flutter, http, shared_preferences

More

Packages that depend on auth_http