dio_refresh 1.0.6 copy "dio_refresh: ^1.0.6" to clipboard
dio_refresh: ^1.0.6 copied to clipboard

A flutter package for intercepting requests and automatically fetching refresh tokens on API failures

1.0.6 #

  • Fix: Refresh is now triggered when either the server requests it (shouldRefresh) or the token is locally expired. Previously both conditions were required, causing refresh to be skipped in revoked-token scenarios

1.0.5 #

  • Added retry interceptors

1.0.4 #

  • Fixed form data being submitted twice error on request retry

  • Added custom token validation callback

  • 1.0.3 #

  • Fixed error handling for isRefreshing deadlock

  • Fixed onRefresh being called multiple times simultaneously

  • 1.0.2 #

  • Fixed refresh being called even if token is null

  • Fixed isRefreshing deadlock, causing APIs to never resolve

1.0.1 #

  • Fixed changelog

1.0.0 #

  • Fixed bulk API call handling to prevent failures.

0.0.1 #

  • Initial release.
11
likes
0
points
1.17k
downloads

Publisher

verified publisheriamdipanshus.in

Weekly Downloads

A flutter package for intercepting requests and automatically fetching refresh tokens on API failures

Repository (GitHub)
View/report issues

Topics

#dio #http #network #interceptor #middleware

License

unknown (license)

Dependencies

dio, flutter, jwt_decoder, synchronized

More

Packages that depend on dio_refresh