salomaosnff / oauth_dio Goto Github PK
View Code? Open in Web Editor NEWAn OAuth client who works with Dio.
License: MIT License
An OAuth client who works with Dio.
License: MIT License
OAuthToken doesn't have a default constructor so it can only be constructed from a map which makes it hard to implement a custom OAuthStorage adapter
Hi,
Thanks for the work,
What about concurrent calls ? I mean let's say for the exemple :
@override
void initState() {
super.initState();
<ApiCall_1>
<ApiCall_2>
<ApiCall_3>
}
Won't this provoke refresh tokens infinite loop ?
How to handle this ?
How does your lib handle this ?
'cause Queue.lock( ) / .unlock( ) that would intervene on [ Error 401 ("token-expired") ] would trigger too late so...
Thanks in advance (^_^)
I have to login Microsoft and get author code. So i have all config data: tenant_id, client_secret...
How can I use it to get author code?
This did not seem to "just work" for me. I admit it's probably user error, but there's not much to mess up.
do you have a demo server (twitter isn't a good choice anymore) you recommend or curl commands to compare with or both?
thanks
Hello,
It seems that Dio() ist not available, even after import...
import 'package:oauth_dio/oauth_dio.dart';
final authenticadedDio = Dio(); authenticadedDio.interceptors.add(BearerInterceptor(oauth));
in pubspec.yaml dependencies:
oauth_dio: ^0.2.7
Null safety requires dio: ^4.0.0-prev3
and this package requires ^3.0.9
. Just a heads up since everyone is starting the switch.
Great plugin btw!
Exemple provided with the application using FlutterSecureStorage seems not correct.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.