senior_platform_authentication 5.0.0 copy "senior_platform_authentication: ^5.0.0" to clipboard
senior_platform_authentication: ^5.0.0 copied to clipboard

A package that make it easy to implement the Senior X authentication for Dart.

2
likes
110/ 140
pub points
41%
popularity

We analyzed this package 2 days ago, and awarded it 110 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

Homepage URL doesn't exist.

At the time of the analysis https://senior.com.br 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.

partial
Provide documentation
10 / 20trigger folding of the section

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

114 out of 662 API elements (17.2 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

Some symbols that are missing documentation: senior_platform_authentication, senior_platform_authentication.ApplicationKey, senior_platform_authentication.ApplicationKey.ApplicationKey, senior_platform_authentication.ApplicationKey.accessKey, senior_platform_authentication.ApplicationKey.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

Found 11 issues. Showing the first 2:

INFO: The variable name 'DEFAULT_ADDRESSES' isn't a lowerCamelCase identifier.

lib/src/core/utils/connection_checker/internet_connection.dart:23:42

   ╷
23 │   static final List<AddressCheckOptions> DEFAULT_ADDRESSES =
   │                                          ^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/core/utils/connection_checker/internet_connection.dart

INFO: The variable name 'expires_in' isn't a lowerCamelCase identifier.

lib/src/data/models/token_model.dart:5:13

  ╷
5 │   final int expires_in;
  │             ^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/data/models/token_model.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
cryptography ^2.7.0 2.7.0 2.7.0
equatable ^2.0.5 2.0.5 2.0.5
http ^1.2.0 1.2.1 1.2.1
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
collection - 1.18.0 1.18.0
crypto - 3.0.3 3.0.3
ffi - 2.1.2 2.1.2
http_parser - 4.0.2 4.0.2
js - 0.6.7 0.7.1
meta - 1.14.0 1.14.0
path - 1.9.0 1.9.0
source_span - 1.10.0 1.10.0
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
web - 0.5.1 0.5.1

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
110
pub points
41%
popularity

Publisher

verified publishersenior.com.br

A package that make it easy to implement the Senior X authentication for Dart.

Homepage

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

cryptography, equatable, http

More

Packages that depend on senior_platform_authentication