pharaoh_jwt_auth 1.0.0+2 pharaoh_jwt_auth: ^1.0.0+2 copied to clipboard
Pharaoh middleware that validates a JsonWebToken (JWT) and set the req.auth with the attributes
We analyzed this package 3 days ago, and awarded it 130 pub points (of a possible 140):
0/10 points: Provide a valid pubspec.yaml
Repository URL doesn't exist.
At the time of the analysis https://github.com/codekeyz/pharaoh/packages/pharaoh_jwt_auth
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: MIT
.
10/10 points: 20% or more of the public API has dartdoc comments
63 out of 104 API elements (60.6 %) have documentation comments.
Some symbols that are missing documentation: pharaoh_jwt_auth.Audience.Audience.one
, pharaoh_jwt_auth.Audience.toJson
, pharaoh_jwt_auth.ECDSAAlgorithm
, pharaoh_jwt_auth.ECDSAAlgorithm.ECDSAAlgorithm
, pharaoh_jwt_auth.ECPrivateKey.ECPrivateKey.bytes
.
10/10 points: Package has an example
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Android
- ✓ iOS
- ✓ Windows
- ✓ Linux
- ✓ macOS
These platforms are not supported:
Package not compatible with platform Web
Because:
package:pharaoh_jwt_auth/pharaoh_jwt_auth.dart
that imports:package:pharaoh_jwt_auth/src/pharaoh_jwt_auth_base.dart
that imports:package:pharaoh/pharaoh.dart
that imports:package:pharaoh/src/shelf_interop/adapter.dart
that imports:package:pharaoh/src/router/router_handler.dart
that imports:package:pharaoh/src/http/response.dart
that imports:package:pharaoh/src/http/message.dart
that imports:dart:io
50/50 points: code has no errors, warnings, lints, or formatting issues
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
dart_jsonwebtoken |
any |
2.14.0 | 2.14.0 |
pharaoh |
^0.0.5+6 |
0.0.6+4 | 0.0.6+4 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
adaptive_number |
- | 1.0.0 | 1.0.0 |
async |
- | 2.11.0 | 2.11.0 |
clock |
- | 1.1.1 | 1.1.1 |
collection |
- | 1.18.0 | 1.18.0 |
convert |
- | 3.1.1 | 3.1.1 |
crypto |
- | 3.0.3 | 3.0.3 |
ed25519_edwards |
- | 0.3.1 | 0.3.1 |
equatable |
- | 2.0.5 | 2.0.5 |
fixnum |
- | 1.1.0 | 1.1.0 |
http_parser |
- | 4.0.2 | 4.0.2 |
js |
- | 0.7.1 | 0.7.1 |
meta |
- | 1.14.0 | 1.14.0 |
mime |
- | 1.0.5 | 1.0.5 |
path |
- | 1.9.0 | 1.9.0 |
pointycastle |
- | 3.9.0 | 3.9.0 |
shelf |
- | 1.4.1 | 1.4.1 |
source_span |
- | 1.10.0 | 1.10.0 |
spanner |
- | 1.0.1+4 | 1.0.1+4 |
sprintf |
- | 7.0.0 | 7.0.0 |
stack_trace |
- | 1.11.1 | 1.11.1 |
stream_channel |
- | 2.1.2 | 2.1.2 |
string_scanner |
- | 1.2.0 | 1.2.0 |
term_glyph |
- | 1.2.1 | 1.2.1 |
typed_data |
- | 1.3.2 | 1.3.2 |
uuid |
- | 4.4.0 | 4.4.0 |
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.