jwt_manager 1.0.0 copy "jwt_manager: ^1.0.0" to clipboard
jwt_manager: ^1.0.0 copied to clipboard

An easy-to-use pure dart JWT manager that creates JWT tokens, verifies a signature, expiration time and others required key fields.

2
likes
130/ 140
pub points
43%
popularity

We analyzed this package 3 days ago, and awarded it 130 pub points (of a possible 140):

partial
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/cyrax111/jwt_manager/issues was unreachable. Make sure that the website is reachable via HEAD requests.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

OK
Provide documentation
20 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

10 out of 49 API elements (20.4 %) have documentation comments.

Some symbols that are missing documentation: jwt_manager.FcmTokenDto.alg, jwt_manager.FcmTokenDto.aud, jwt_manager.FcmTokenDto.buildClaims, jwt_manager.FcmTokenDto.buildHeader, jwt_manager.FcmTokenDto.copyWith.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ macOS
  • ✓ Web
partial
Pass static analysis
40 / 50trigger folding of the section

40/50 points: code has no errors, warnings, lints, or formatting issues

INFO: Unnecessary cast.

lib/src/signature_verifier.dart:17:34

   ╷
17 │     return _rsaVerify(publicKey, utf8.encode(signedData) as Uint8List,
   │                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/signature_verifier.dart

OK
Support up-to-date dependencies
20 / 20trigger folding of the section

10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
pointycastle ^3.6.1 3.9.0 3.9.0
rsa_pkcs ^2.0.1 2.1.0 2.1.0
Transitive dependencies
Package Constraint Compatible Latest
asn1lib - 1.5.2 1.5.2
collection - 1.18.0 1.18.0
convert - 3.1.1 3.1.1
js - 0.7.1 0.7.1
typed_data - 1.3.2 1.3.2

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

10/10 points: Package supports latest stable Dart and Flutter SDKs

Analyzed with Pana 0.22.3, Dart 3.3.4.

Check the analysis log for details.

2
likes
130
pub points
43%
popularity

Publisher

unverified uploader

An easy-to-use pure dart JWT manager that creates JWT tokens, verifies a signature, expiration time and others required key fields.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

pointycastle, rsa_pkcs

More

Packages that depend on jwt_manager