fresh icon indicating copy to clipboard operation
fresh copied to clipboard

🍋 A token refresh library for Dart.

Results 34 fresh issues
Sort by recently updated
recently updated
newest added

Interceptors are called concurrently, this could lead to a problem if multiple API calls are executed at the same time. Therefore, Queued Interceptor was introduced to solve this problem. I...

enhancement

Hey Felix, thanks for this repo. It is possible to make spesific example with reflesh token. This examples doesn't look like real time example. The title is reflesh token this...

Code to reproduce: ```dart import 'package:fresh/fresh.dart'; class InMemoryDelayed extends InMemoryTokenStorage { @override Future read() async { await Future.delayed(Duration.zero); return super.read(); } } class Foo with FreshMixin { Foo(InMemoryDelayed tokenStorage) {...

My team and i are working on a mobile app that sometimes requires us to send multiple images to a nodejs server using FormData and MutipartFiles (part of the dio...

bug

Hello, I have been using fresh_dio package for a Dio http client. I was able to implement the `refreshToken` + `shouldRefresh` functions, and it is refreshing the token whenever the...

It is just an idea, but can the dependency be changed from graphql to gql_link? Is it even possible? The maintainer of ferry mentioned it in a comment: https://github.com/gql-dart/ferry/issues/296 Any...

I am using this library like this: ``` Future _getClient({ required final String path, final String? accessToken, }) async { // final Link link = HttpLink(path); // Link link =...

Please update the example code using bloc 8.0.0 thanks

Hi @felangel , I want to request a new Feature for fresh. I need to request the token before i got response error. Which i need to check the request...

../../../../.pub-cache/git/mobileapp-cn-components-service-0c9a9b528758740e21a494e36669d299535ffc7e/mobileapp_cn_core_networking/lib/mobileapp_cn_core_networking.dart:11:1: Error: Can't export this file because it contains a 'part of' declaration. export 'package:dio/src/interceptor.dart'; ^^^^^^ ../../../../.pub-cache/hosted/pub.dartlang.org/dio-4.0.3/lib/src/interceptor.dart: Context: This is the file that can't be exported.

bug