deftomat / justjwt Goto Github PK
View Code? Open in Web Editor NEWA JWT library for Dart.
Home Page: https://pub.dartlang.org/packages/just_jwt
License: Other
A JWT library for Dart.
Home Page: https://pub.dartlang.org/packages/just_jwt
License: Other
This is my pubspec.yaml
.
dependencies:
flutter_markdown: 0.1.5
built_value: ^5.4.5
shared_preferences: ^0.4.1
just_jwt: ^1.3.1
http: ^0.11.3+16
flutter:
sdk: flutter
cupertino_icons: ^0.1.2
dev_dependencies:
build_runner: ^0.7.9
built_value_generator: ^5.5.1
This is the conflict information.
Because reflectable >=0.5.1 <0.5.3 depends on analyzer 0.27.1 and pointycastle <=0.10.0+1 depends on reflectable ^0.5.1, pointycastle <=0.10.0+1 requires analyzer 0.27.1 or reflectable ^0.5.3.
And because every version of just_jwt depends on pointycastle ^0.10.0 and pointycastle >=0.10.0+2 <1.0.0-rc1 depends on reflectable ^1.0.1, every version of just_jwt requires analyzer 0.27.1 or reflectable ^0.5.3 or ^1.0.1.
And because reflectable >=1.0.4 <=2.0.0-dev.1.0 depends on analyzer ^0.30.0 and reflectable >=1.0.1 <1.0.4 depends on analyzer >=0.27.2 <0.30.0, every version of just_jwt requires analyzer 0.27.1 or >=0.27.2 <0.30.0 or ^0.30.0 or reflectable ^0.5.3.
And because reflectable >=0.5.3 <1.0.1 depends on analyzer ^0.27.2 and built_value_generator >=5.5.1 depends on analyzer ^0.32.1, built_value_generator >=5.5.1 is incompatible with just_jwt.
So, because tornado_blog_flutter depends on both just_jwt ^1.3.1 and built_value_generator ^5.5.1, version solving failed.
pub get failed (1)
Hi,
I have been looking for a good JWT dart package, but haven't really found it. Yours is coming close.
I try to use firebase auth and that returns a JWT.
The formate is given here:
https://firebase.google.com/docs/auth/admin/verify-id-tokens
They are signed asymmetric and the public keys can be found here:
https://www.googleapis.com/robot/v1/metadata/x509/[email protected]
However, they are in the format with BEGIN CERTIFICATE instead of BEGIN PUBLIC KEY and probably the content is also a bit different. Can you build support for this or help me in the direction to support this, because I can find very little documentation on this.
Hi,
This package can't be used because the version constraints in it.
Package pointycastle has no versions that match >=0.10.0+1 <0.11.0 derived from:
Running "flutter packages get" in TestProject...
Because every version of just_jwt depends on pointycastle ^0.10.0 and pointycastle >=0.10.0+2 <1.0.0-rc1 depends on reflectable ^1.0.1, every version of just_jwt requires reflectable ^1.0.1 or pointycastle >=0.10.0 <=0.10.0+1.
And because pointycastle <=0.10.0+1 depends on reflectable ^0.5.1, every version of just_jwt requires reflectable ^0.5.1 or ^1.0.1.
Because reflectable >=0.5.3 <1.0.1 depends on analyzer ^0.27.2 and reflectable >=0.5.1 <0.5.3 depends on analyzer 0.27.1, reflectable >=0.5.1 <1.0.1 requires analyzer 0.27.1 or ^0.27.2.
Thus, every version of just_jwt requires analyzer 0.27.1 or ^0.27.2 or reflectable ^1.0.1.
Because reflectable >=1.0.1 <1.0.4 depends on analyzer >=0.27.2 <0.30.0 and reflectable >=1.0.4 <=2.0.0-dev.1.0 depends on path >=1.2.0 <1.5.0, reflectable >=1.0.1 <=2.0.0-dev.1.0 requires analyzer >=0.27.2 <0.30.0 or path >=1.2.0 <1.5.0.
Thus, every version of just_jwt requires analyzer 0.27.1 or >=0.27.2 <0.30.0 or path >=1.2.0 <1.5.0.
And because every version of flutter_test from sdk depends on both analyzer 0.31.2-alpha.2 and path 1.5.1, flutter_test from sdk is incompatible with just_jwt.
So, because TestProject depends on both just_jwt ^1.3.1 and flutter_test any from sdk, version solving failed.
pub get failed (1)
I have a package I need to upgrade to dart 2.0 that depends on this, is a Dart 2.0 upgrade in the works?
Have this error trying to create rs256 verifier.
var verifiers = {
'RS256': toTokenVerifier(createRS256Verifier(publicKey)),
};
I fix it for me by making it public in rs256.dart file.
Also RS256 not working while this:
dependencies:
reflectable: '1.0.1'
transformers:
not in pubspec.yaml
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.