angel3_auth 4.1.2
angel3_auth: ^4.1.2 copied to clipboard
A complete authentication plugin for Angel3. Includes support for stateless JWT tokens, Basic Auth, and more.
We analyzed this package 17 days ago, and awarded it 100 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Failed to verify repository URL.
packages/auth/pubspec.yaml from the repository URL mismatch: expected https://github.com/dukefirehawk/angel but got https://github.com/dart-backend/angel.
Please provide a valid repository URL in pubspec.yaml, such that:
repositorycan be cloned,- a clone of the repository contains a
pubspec.yaml, which:,- contains
name: angel3_auth, - contains a
versionproperty, and, - does not contain a
publish_toproperty.
- contains
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.
10/10 points: 20% or more of the public API has dartdoc comments
41 out of 74 API elements (55.4 %) have documentation comments.
Some symbols that are missing documentation: angel3_auth, angel3_auth.AngelAuthCallback, angel3_auth.AngelAuthOptions, angel3_auth.AngelAuthOptions.AngelAuthOptions.new, angel3_auth.AngelAuthOptions.callback.
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:angel3_auth/angel3_auth.dartthat imports:package:angel3_auth/src/strategy.dartthat imports:package:angel3_auth/src/options.dartthat imports:package:angel3_auth/src/auth_token.dartthat imports:package:angel3_framework/angel3_framework.dartthat imports:package:angel3_framework/src/core/core.dartthat imports:package:angel3_framework/src/core/service.dartthat imports:package:angel3_framework/src/core/server.dartthat imports:package:angel3_framework/src/core/routable.dartthat imports:package:angel3_framework/src/core/response_context.dartthat imports:package:angel3_framework/src/core/request_context.dartthat imports:package:belatuk_http_server/belatuk_http_server.dartthat imports:package:belatuk_http_server/src/http_multipart_form_data.dartthat imports:dart:io
30/50 points: code has no errors, warnings, lints, or formatting issues
WARNING: The operand must be 'null', so the condition is always 'true'.
lib/src/strategies/local.dart:75:9
╷
75 │ if (verificationResult == null) {
│ ^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/strategies/local.dart
INFO: Missing type annotation.
lib/src/plugin.dart:357:31
╷
357 │ RequestHandler authenticate(type, [AngelAuthOptions<User>? opt]) {
│ ^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/plugin.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
angel3_framework |
^4.2.0 |
4.2.4 | 8.6.0 | |
charcode |
^1.2.0 |
1.4.0 | 1.4.0 | |
collection |
^1.15.0 |
1.19.1 | 1.19.1 | |
crypto |
^3.0.0 |
3.0.7 | 3.0.7 | |
http_parser |
^4.0.0 |
4.1.2 | 4.1.2 | |
logging |
^1.0.0 |
1.3.0 | 1.3.0 | |
meta |
^1.3.0 |
1.17.0 | 1.17.0 | |
quiver |
^3.0.0 |
3.2.2 | 3.2.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
angel3_container |
- | 3.1.1 | 8.4.0 | |
angel3_http_exception |
- | 3.1.0 | 8.4.0 | |
angel3_mock_request |
- | 2.1.0 | 8.4.0 | |
angel3_model |
- | 3.1.1 | 8.4.0 | |
angel3_route |
- | 5.2.0 | 8.5.0 | |
async |
- | 2.13.0 | 2.13.0 | |
belatuk_code_buffer |
- | 3.0.2 | 5.4.0 | |
belatuk_combinator |
- | 3.0.1 | 5.4.0 | |
belatuk_http_server |
- | 2.1.0 | 4.6.0 | |
belatuk_merge_map |
- | 3.0.2 | 5.4.0 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
file |
- | 6.1.4 | 7.0.1 | |
http2 |
- | 2.3.1 | 2.3.1 | |
matcher |
- | 0.12.18 | 0.12.18 | |
mime |
- | 1.0.6 | 2.0.0 | |
path |
- | 1.9.1 | 1.9.1 | |
recase |
- | 4.1.0 | 4.1.0 | |
source_span |
- | 1.10.1 | 1.10.1 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
test_api |
- | 0.7.8 | 0.7.8 | |
tuple |
- | 2.0.2 | 2.0.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
uuid |
- | 3.0.7 | 4.5.2 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^4.2.0` on angel3_framework does not support the stable version `6.0.0`.
Try running dart pub upgrade --major-versions angel3_framework to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 4 errors:
ARGUMENT_TYPE_NOT_ASSIGNABLE-lib/src/plugin.dart:133:39- The argument type 'RequestContextARGUMENT_TYPE_NOT_ASSIGNABLE-lib/src/plugin.dart:133:44- The argument type 'ResponseContextUNCHECKED_USE_OF_NULLABLE_VALUE-lib/src/plugin.dart:144:23- The property 'user' can't be unconditionally accessed because the receiver can be 'null'.
Run dart pub downgrade and then dart analyze to reproduce the above problem.
You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.23.3, Dart 3.10.4.
Check the analysis log for details.