Comments (1)
@a7md0 it should retry the request with updated token based on this code
https://github.com/felangel/fresh/blob/master/packages/fresh_dio/lib/src/fresh.dart#L121
from fresh.
Related Issues (20)
- when dio version from 4.0.0 to 4.0.3 interceptor error HOT 1
- Request new Feature
- Update example code
- refreshToken not called at all? HOT 1
- Replace graphql dependency with gql_link HOT 3
- not enough examples HOT 2
- token returns null when awaited right after initializing HOT 1
- Move to QueuedInterceptor in Dio
- Request headers bug HOT 2
- can't figure out how to use package!
- Updated package to use dio 5.0.0 HOT 7
- [fresh_graphql] shouldRefresh example needed HOT 2
- [fresh_graphql] wrong auth status HOT 1
- [fresh_graphql] wrong Bearer case
- [fresh_grahpql] Multiple request HOT 4
- [fresh_graphql] update http to 1.0.0 HOT 1
- Fresh causes requests to never complete
- [fresh_dio] Recommended way to log refresh and retry requests HOT 1
- How to test fresh_dio with a Mock HttpClientAdapter?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fresh.