dio_refresh_bot 2.2.0 copy "dio_refresh_bot: ^2.2.0" to clipboard
dio_refresh_bot: ^2.2.0 copied to clipboard

Dio interceptor which makes refresh token mechanism simple, flexible and reactive.

2.2.0 #

  • CHORE: updates packages.

2.1.2 #

  • FIX: build token header for onRequest.

2.1.1 #

  • FEAT: add defaultTokenType bearer' to AuthToken.fromMap`.

2.1.0 #

  • FEAT: add optional debugLog for refreshToken request.
  • FIX: handle refreshToken error when his type is not DioError.

2.0.0+1 #

Note: This release has breaking changes.

  • FIX: add shouldRefresh implementation for onRequest.
  • BREAKING: remove un-needed dio from RefreshTokenInterceptor.

1.0.6 #

  • chore: fix local path conflict with bot_storage

1.0.5 #

  • test: add test files.

1.0.4 #

  • chore: pump up dependencies.

1.0.3+1 #

  • build: downgrade meta to 1.7.0

1.0.3 #

  • feat: AuthToken implements Equatable.
  • fix: add should refresh to onRequest.
  • chore: pump up dependencies.

1.0.2 #

  • fix: token stream event has not been added.
  • update example.

1.0.0+1 #

  • add readme.

1.0.0 #

  • initial release.
30
likes
150
points
134
downloads

Publisher

verified publisherflutterbots.dev

Weekly Downloads

Dio interceptor which makes refresh token mechanism simple, flexible and reactive.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

bot_storage, dio, equatable, meta, rxdart

More

Packages that depend on dio_refresh_bot