passkeys_capsule 2.0.5 copy "passkeys_capsule: ^2.0.5" to clipboard
passkeys_capsule: ^2.0.5 copied to clipboard

Flutter plugin enabling simple passkey authentication. Can be either used with a ready-to-use relying party server (Corbado) or with your custom relying party.

1
likes
130/ 160
pub points
32
downloads

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

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: passkeys_capsule,
    • contains a version property, and,
    • does not contain a publish_to property.

Repository has no matching pubspec.yaml with name: passkeys_capsule.

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

39 out of 94 API elements (41.5 %) have documentation comments.

Some symbols that are missing documentation: authenticator, authenticator.PasskeyAuthenticator.cancelCurrentAuthenticatorOperation, exceptions, exceptions.UnhandledAuthenticatorException.code, exceptions.UnhandledAuthenticatorException.details.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Web

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:passkeys_capsule/authenticator.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Linux`.

Because:

  • package:passkeys_capsule/authenticator.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `macOS`.

Because:

  • package:passkeys_capsule/authenticator.dart that declares support for platforms: Android, iOS, Web.

0/0 points: WASM compatibility

This package is compatible with runtime wasm, and will be rewarded additional points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

partial
Pass static analysis
40 / 50trigger folding of the section

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

INFO: 'canAuthenticate' is deprecated and shouldn't be used.

lib/authenticator.dart:15:22

   ╷
15 │     return _platform.canAuthenticate();
   │                      ^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/authenticator.dart

/tmp/pana_PASIZQ/lib/exceptions.dart doesn't match the Dart formatter.

To format your files run: dart format .

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

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

Package Constraint Compatible Latest
convert ^3.1.1 3.1.2 3.1.2
corbado_frontend_api_client ^1.1.0 1.1.0 2.0.0
flutter flutter 0.0.0 0.0.0
json_annotation ^4.8.1 4.9.0 4.9.0
openapi_generator_annotations ^4.10.0 4.13.1 6.1.0
passkeys_android ^2.0.3 2.1.0 2.1.0
passkeys_ios_capsule ^2.0.2 2.0.2 2.0.2
passkeys_platform_interface ^2.0.1 2.1.0 2.1.0
passkeys_web ^2.0.1 2.1.0 2.1.0
ua_client_hints ^1.1.3 1.4.1 1.4.1
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
characters - 1.3.0 1.4.0
clock - 1.1.2 1.1.2
collection - 1.19.0 1.19.1
crypto - 3.0.6 3.0.6
flutter_web_plugins - 0.0.0 0.0.0
http - 1.2.2 1.2.2
http_parser - 4.1.2 4.1.2
intl - 0.18.1 0.20.1
js - 0.7.1 0.7.1
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path - 1.9.1 1.9.1
plugin_platform_interface - 2.1.8 2.1.8
sky_engine - 0.0.0 0.0.0
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.4
web - 1.1.0 1.1.0

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

The constraint `^1.1.0` on corbado_frontend_api_client does not support the stable version `2.0.0`.

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

The constraint `^4.10.0` on openapi_generator_annotations does not support the stable version `5.0.0`.

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

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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.

1
likes
130
points
32
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter plugin enabling simple passkey authentication. Can be either used with a ready-to-use relying party server (Corbado) or with your custom relying party.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

convert, corbado_frontend_api_client, flutter, json_annotation, openapi_generator_annotations, passkeys_android, passkeys_ios_capsule, passkeys_platform_interface, passkeys_web, ua_client_hints

More

Packages that depend on passkeys_capsule