angel3_auth 7.0.1 copy "angel3_auth: ^7.0.1" to clipboard
angel3_auth: ^7.0.1 copied to clipboard

A complete authentication plugin for Angel3. Includes support for stateless JWT tokens, Basic Auth, and more.

3
likes
100/ 140
pub points
76%
popularity

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

failed
Follow Dart file conventions
20 / 30trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: angel3_auth,
    • contains a version property, and,
    • does not contain a publish_to property.

packages/auth/pubspec.yaml from the repository URL mismatch: expected https://github.com/dukefirehawk/angel but got https://github.com/dart-backend/angel.

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

41 out of 72 API elements (56.9 %) have documentation comments.

Some symbols that are missing documentation: angel3_auth, angel3_auth.AngelAuthCallback, angel3_auth.AngelAuthOptions, angel3_auth.AngelAuthOptions.AngelAuthOptions, angel3_auth.AngelAuthOptions.callback.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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.dart that imports:
  • package:angel3_auth/src/strategy.dart that imports:
  • package:angel3_auth/src/options.dart that imports:
  • package:angel3_auth/src/auth_token.dart that imports:
  • package:angel3_framework/angel3_framework.dart that imports:
  • package:angel3_framework/src/core/core.dart that imports:
  • package:angel3_framework/src/core/service.dart that imports:
  • package:angel3_framework/src/core/server.dart that imports:
  • package:angel3_framework/src/core/routable.dart that imports:
  • package:angel3_framework/src/core/response_context.dart that imports:
  • package:angel3_framework/src/core/request_context.dart that imports:
  • package:belatuk_http_server/belatuk_http_server.dart that imports:
  • package:belatuk_http_server/src/http_multipart_form_data.dart that imports:
  • dart:io
failed
Pass static analysis
30 / 50trigger folding of the section

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

WARNING: The operand can't 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

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

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

Package Constraint Compatible Latest
angel3_framework ^7.0.0 7.0.3 8.3.2
charcode ^1.2.0 1.3.1 1.3.1
collection ^1.15.0 1.18.0 1.18.0
crypto ^3.0.0 3.0.3 3.0.3
http_parser ^4.0.0 4.0.2 4.0.2
logging ^1.0.0 1.2.0 1.2.0
meta ^1.3.0 1.15.0 1.15.0
quiver ^3.0.0 3.2.1 3.2.1
Transitive dependencies
Package Constraint Compatible Latest
angel3_container - 7.0.0 8.1.1
angel3_http_exception - 7.0.0 8.1.1
angel3_mock_request - 7.0.1 8.1.1
angel3_model - 7.0.0 8.1.1
angel3_route - 7.0.0 8.1.1
async - 2.11.0 2.11.0
belatuk_code_buffer - 4.0.0 5.2.0
belatuk_combinator - 4.0.0 5.2.0
belatuk_http_server - 3.0.0 4.4.0
belatuk_merge_map - 4.0.0 5.2.0
boolean_selector - 2.1.1 2.1.1
file - 6.1.4 7.0.0
http2 - 2.3.0 2.3.0
matcher - 0.12.16+1 0.12.16+1
mime - 1.0.5 1.0.5
path - 1.9.0 1.9.0
recase - 4.1.0 4.1.0
source_span - 1.10.0 1.10.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
test_api - 0.7.1 0.7.1
tuple - 2.0.2 2.0.2
typed_data - 1.3.2 1.3.2
uuid - 3.0.7 4.4.0

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

The constraint `^7.0.0` on angel3_framework does not support the stable version `8.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

Analyzed with Pana 0.22.3, Dart 3.4.0.

Check the analysis log for details.

3
likes
100
pub points
76%
popularity

Publisher

verified publisherdukefirehawk.com

A complete authentication plugin for Angel3. Includes support for stateless JWT tokens, Basic Auth, and more.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

angel3_framework, charcode, collection, crypto, http_parser, logging, meta, quiver

More

Packages that depend on angel3_auth