celest_cloud_auth 0.3.5 copy "celest_cloud_auth: ^0.3.5" to clipboard
celest_cloud_auth: ^0.3.5 copied to clipboard

A Dart-native authentication and authorization service built on Celest, Cedar, and SQLite.

130/ 160
pub points
80
downloads

We analyzed this package 22 hours ago, and awarded it 130 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: BSD-2-Clause-Patent.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

166 out of 528 API elements (31.4 %) have documentation comments.

Some symbols that are missing documentation: celest_cloud_auth, celest_cloud_auth.AuthDatabase, celest_cloud_auth.AuthenticationFactor, celest_cloud_auth.AuthenticationFactor.AuthenticationFactor.fromProto, celest_cloud_auth.AuthenticationFactor.toProto.

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 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:celest_cloud_auth/celest_cloud_auth.dart that imports:
  • package:celest_cloud_auth/src/users/users_service.dart that imports:
  • package:celest_cloud_auth/src/users/users_repository.dart that imports:
  • package:celest_cloud_auth/src/util/typeid.dart that imports:
  • package:celest_cloud_auth/src/authentication/authentication_model.dart that imports:
  • package:celest_cloud_auth/src/context.dart that imports:
  • package:celest/src/core/context.dart that imports:
  • package:platform/platform.dart that imports:
  • package:platform/src/interface/local_platform.dart that imports:
  • dart:io

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Android`.

Because:

  • package:celest_cloud_auth/celest_cloud_auth.dart that imports:
  • package:celest_core/_internal.dart that imports:
  • package:celest_core/src/http/celest_http_client.dart that imports:
  • package:native_storage/native_storage.dart that imports:
  • package:native_storage/src/native_storage.dart that imports:
  • package:native_storage/src/local/local_storage_platform.vm.dart that imports:
  • package:native_storage/src/secure/secure_storage_platform.vm.dart that imports:
  • package:native_storage/src/secure/secure_storage.windows.dart that imports:
  • package:win32_registry/win32_registry.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:celest_cloud_auth/celest_cloud_auth.dart that imports:
  • package:celest_core/_internal.dart that imports:
  • package:celest_core/src/http/celest_http_client.dart that imports:
  • package:native_storage/native_storage.dart that imports:
  • package:native_storage/src/native_storage.dart that imports:
  • package:native_storage/src/local/local_storage_platform.vm.dart that imports:
  • package:native_storage/src/secure/secure_storage_platform.vm.dart that imports:
  • package:native_storage/src/secure/secure_storage.windows.dart that imports:
  • package:win32_registry/win32_registry.dart that declares support for platforms: Windows.
Package does not support platform `Windows`.

Because:

  • package:celest_cloud_auth/celest_cloud_auth.dart that imports:
  • package:celest_core/_internal.dart that imports:
  • package:celest_core/src/http/celest_http_client.dart that imports:
  • package:native_storage/native_storage.dart that imports:
  • package:native_storage/src/native_storage.dart that imports:
  • package:native_storage/src/local/local_storage_platform.vm.dart that imports:
  • package:native_storage/src/secure/secure_storage_platform.vm.dart that imports:
  • package:native_storage/src/secure/secure_storage.linux.dart that imports:
  • package:native_storage/src/native/linux/linux.dart that imports:
  • package:xdg_directories/xdg_directories.dart that declares support for platforms: Linux.
Package does not support platform `Linux`.

Because:

  • package:celest_cloud_auth/celest_cloud_auth.dart that imports:
  • package:celest_core/_internal.dart that imports:
  • package:celest_core/src/http/celest_http_client.dart that imports:
  • package:native_storage/native_storage.dart that imports:
  • package:native_storage/src/native_storage.dart that imports:
  • package:native_storage/src/local/local_storage_platform.vm.dart that imports:
  • package:native_storage/src/secure/secure_storage_platform.vm.dart that imports:
  • package:native_storage/src/secure/secure_storage.windows.dart that imports:
  • package:win32_registry/win32_registry.dart that declares support for platforms: Windows.
Package does not support platform `macOS`.

Because:

  • package:celest_cloud_auth/celest_cloud_auth.dart that imports:
  • package:celest_core/_internal.dart that imports:
  • package:celest_core/src/http/celest_http_client.dart that imports:
  • package:native_storage/native_storage.dart that imports:
  • package:native_storage/src/native_storage.dart that imports:
  • package:native_storage/src/local/local_storage_platform.vm.dart that imports:
  • package:native_storage/src/secure/secure_storage_platform.vm.dart that imports:
  • package:native_storage/src/secure/secure_storage.windows.dart that imports:
  • package:win32_registry/win32_registry.dart that declares support for platforms: Windows.
Failed report section
Pass static analysis
30 / 50trigger folding of the section

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

Found 14 issues. Showing the first 2:

WARNING: 'TableMigration' is experimental and could be removed or changed at any time.

lib/src/database/auth_database_accessors.dart:260:28

    ╷
260 │         await m.alterTable(TableMigration(schema.sessions));
    │                            ^^^^^^^^^^^^^^
    ╵

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

WARNING: 'TableMigration' is experimental and could be removed or changed at any time.

lib/src/database/auth_database_accessors.dart:261:28

    ╷
261 │         await m.alterTable(TableMigration(schema.cedarRelationships));
    │                            ^^^^^^^^^^^^^^
    ╵

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

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
args ^2.4.0 2.7.0 2.7.0
async ^2.11.0 2.13.0 2.13.0
cedar ^0.2.6 0.2.6 1.0.0
celest ^1.0.0 1.0.7 1.0.7
celest_ast ^0.1.0 0.1.7 0.1.7
celest_cloud ^0.1.0 0.1.10 0.1.10
celest_cloud_core ^0.1.0 0.1.1 0.1.1
celest_core ^1.0.0 1.0.4 1.0.4
clock ^1.1.1 1.1.2 1.1.2
collection ^1.18.0 1.19.1 1.19.1
convert ^3.1.1 3.1.2 3.1.2
corks_cedar ^0.2.4 0.2.4 1.0.0
crypto ^3.0.5 3.0.7 3.0.7
drift ^2.27.0 2.31.0 2.31.0
file ^7.0.1 7.0.1 7.0.1
fixnum ^1.1.0 1.1.1 1.1.1
http ^1.0.0 1.6.0 1.6.0
logging ^1.2.0 1.3.0 1.3.0
meta ^1.15.0 1.17.0 1.18.1
mustache_template ^2.0.0 2.0.3 2.0.3
path ^1.9.0 1.9.1 1.9.1
petitparser ^6.0.2 6.1.0 7.0.2
protobuf ^4.0.0 4.2.0 6.0.0
pub_semver ^2.1.4 2.2.0 2.2.0
shelf ^1.4.0 1.4.2 1.4.2
shelf_router ^1.1.0 1.1.4 1.1.4
sqlite3 ^2.4.6 2.9.4 3.1.6
Transitive dependencies
Package Constraint Compatible Latest Notes
asn1lib - 1.6.5 1.6.5
boolean_selector - 2.1.2 2.1.2
built_collection - 5.1.1 5.1.1
built_value - 8.12.3 8.12.3
celest_auth - 1.0.3 1.0.3
celest_db_studio - 0.1.0 0.1.0
characters - 1.4.1 1.4.1
chunked_stream - 1.4.2 1.4.2
cloud_http - 0.1.1 0.1.1
code_builder - 4.11.1 4.11.1
crypto_keys - 0.3.0+2 0.3.0+2
decimal - 3.2.4 3.2.4
drift_hrana - 1.0.5 1.0.5
embed_annotation - 1.2.3 1.2.3
ffi - 2.2.0 2.2.0
freezed_annotation - 3.1.0 3.1.0
google_cloud - 0.2.0 0.3.0
google_identity_services_web - 0.3.3+1 0.3.3+1
googleapis_auth - 2.0.0 2.1.0
grpc - 4.1.0 5.1.0
hrana - 0.4.2 0.4.2
http2 - 2.3.1 2.3.1
http_methods - 1.1.1 1.1.1
http_parser - 4.1.2 4.1.2
http_sfv - 0.1.0 0.1.0
intl - 0.20.2 0.20.2
io - 1.0.5 1.0.5
jni - 0.14.2 0.15.2
json_annotation - 4.10.0 4.10.0
matcher - 0.12.18 0.12.18
material_color_utilities - 0.13.0 0.13.0
native_authentication - 0.1.5 0.1.5
native_storage - 0.3.0 0.4.0
objective_c - 8.1.0 9.3.0
os_detect - 2.0.3 2.0.3
package_config - 2.2.0 2.2.0
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
pointycastle - 4.0.0 4.0.0
pool - 1.5.2 1.5.2
quiver - 3.2.2 3.2.2
rational - 2.2.3 2.2.3
recase - 4.1.0 4.1.0
shelf_web_socket - 3.0.0 3.0.0
source_span - 1.10.2 1.10.2
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
stream_transform - 2.1.1 2.1.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
test_api - 0.7.9 0.7.9
typed_data - 1.4.0 1.4.0
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.1
web_socket - 1.0.1 1.0.1
web_socket_channel - 3.0.3 3.0.3
win32 - 5.15.0 5.15.0
win32_registry - 2.1.0 2.1.0
windows_applicationmodel - 0.2.0 0.2.0 Discontinued
windows_data - 0.2.0 0.2.0 Discontinued
windows_devices - 0.2.0 0.2.0 Discontinued
windows_foundation - 0.2.0 0.2.0 Discontinued
windows_globalization - 0.1.0+1 0.1.0+1 Discontinued
windows_graphics - 0.2.0 0.2.0 Discontinued
windows_media - 0.2.0 0.2.0 Discontinued
windows_networking - 0.2.0 0.2.0 Discontinued
windows_perception - 0.1.0 0.1.0 Discontinued
windows_security - 0.1.0+1 0.1.0+1 Discontinued
windows_services - 0.1.0 0.1.0 Discontinued
windows_storage - 0.2.0 0.2.0 Discontinued
windows_system - 0.1.0+1 0.1.0+1 Discontinued
windows_ui - 0.2.0 0.2.0 Discontinued
x509 - 0.2.4+3 0.2.4+3
xdg_directories - 1.1.0 1.1.0

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

Found 5 issues. Showing the first 2:

The constraint `^0.2.6` on cedar does not support the stable version `1.0.0`.

Try running dart pub upgrade --major-versions cedar to update the constraint.

The constraint `^0.2.4` on corks_cedar does not support the stable version `1.0.0`.

Try running dart pub upgrade --major-versions corks_cedar to update the constraint.

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.10, Dart 3.11.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions: