webauthn 0.2.5 copy "webauthn: ^0.2.5" to clipboard
webauthn: ^0.2.5 copied to clipboard

A plugin implementing the WebAuthn authenticator model for generating Public Key Credentials

14
likes
160/ 160
pub points
83%
popularity

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

partial
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/flutter-institute/webauthn/issues 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.

OK
Provide documentation
20 / 20trigger folding of the section

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

59 out of 162 API elements (36.4 %) have documentation comments.

Some symbols that are missing documentation: webauthn, webauthn.Assertion.Assertion.fromJson, webauthn.Assertion.authenticatorData, webauthn.Assertion.selectedCredentialId, webauthn.Assertion.selectedCredentialUserHandle.

10/10 points: Package has an example

failed
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

  • ✓ Windows

These platforms are not supported:

Package does not support platform `Linux`.

Because:

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

Because:

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

Because:

  • package:webauthn/webauthn.dart that declares support for platforms: Android, iOS, Windows.

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:webauthn/webauthn.dart that imports:
  • package:webauthn/src/models/authentication_localization_options.dart that imports:
  • package:local_auth_windows/types/auth_messages_windows.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:webauthn/webauthn.dart that imports:
  • package:webauthn/src/models/authentication_localization_options.dart that imports:
  • package:local_auth_windows/types/auth_messages_windows.dart that declares support for platforms: Windows.
Package does not support platform `Windows`.

Because:

  • package:webauthn/webauthn.dart that imports:
  • package:webauthn/src/models/authentication_localization_options.dart that imports:
  • package:local_auth_darwin/types/auth_messages_ios.dart that declares support for platforms: iOS, macOS.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:webauthn/webauthn.dart that imports:
  • package:webauthn/src/util/credential_safe.dart that imports:
  • package:local_auth/local_auth.dart that imports:
  • package:local_auth/src/local_auth.dart that imports:
  • package:local_auth_darwin/local_auth_darwin.dart that imports:
  • dart:io

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

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

OK
Pass static analysis
50 / 50trigger folding of the section

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

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

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

Package Constraint Compatible Latest
byte_extensions ^0.0.3 0.0.3 0.0.3
cbor ^6.1.1 6.3.3 6.3.3
collection ^1.17.2 1.18.0 1.19.1
crypto ^3.0.3 3.0.6 3.0.6
crypto_keys ^0.3.0+1 0.3.0+1 0.3.0+1
equatable ^2.0.5 2.0.5 2.0.5
flutter flutter 0.0.0 0.0.0
flutter_secure_storage ^9.0.0 9.2.2 9.2.2
hex ^0.2.0 0.2.0 0.2.0
json_annotation ^4.8.1 4.9.0 4.9.0
local_auth ^2.1.7 2.3.0 2.3.0
local_auth_android ^1.0.34 1.0.46 1.0.46
local_auth_darwin ^1.3.0 1.4.1 1.4.1
local_auth_windows ^1.0.10 1.0.11 1.0.11
logger ^2.0.2 2.5.0 2.5.0
path ^1.8.3 1.9.1 1.9.1
path_provider ^2.1.1 2.1.5 2.1.5
precis ^0.0.3 0.0.3 0.0.3
sqflite ^2.3.0 2.4.1 2.4.1
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
boolean_selector - 2.1.2 2.1.2
characters - 1.3.0 1.3.1
clock - 1.1.2 1.1.2
convert - 3.1.2 3.1.2
ffi - 2.1.3 2.1.3
flutter_plugin_android_lifecycle - 2.0.23 2.0.23
flutter_secure_storage_linux - 1.2.1 1.2.1
flutter_secure_storage_macos - 3.1.2 3.1.2
flutter_secure_storage_platform_interface - 1.1.2 1.1.2
flutter_secure_storage_web - 1.2.1 1.2.1
flutter_secure_storage_windows - 3.1.2 3.1.2
flutter_web_plugins - 0.0.0 0.0.0
ieee754 - 1.0.3 1.0.3
intl - 0.19.0 0.20.0
js - 0.6.7 0.7.1
local_auth_platform_interface - 1.0.10 1.0.10
matcher - 0.12.17 0.12.17
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path_provider_android - 2.2.12 2.2.12
path_provider_foundation - 2.4.0 2.4.0
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
pointycastle - 3.9.1 3.9.1
quiver - 3.2.2 3.2.2
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
sqflite_android - 2.4.0 2.4.0
sqflite_common - 2.5.4+5 2.5.4+5
sqflite_darwin - 2.4.1 2.4.1
sqflite_platform_interface - 2.4.0 2.4.0
stack_trace - 1.12.0 1.12.0
stream_channel - 2.1.2 2.1.2
string_scanner - 1.4.0 1.4.0
synchronized - 3.3.0+3 3.3.0+3
term_glyph - 1.2.1 1.2.1
test_api - 0.7.3 0.7.3
typed_data - 1.4.0 1.4.0
unorm_dart - 0.2.0 0.3.0
vector_math - 2.1.4 2.1.4
win32 - 5.8.0 5.8.0
xdg_directories - 1.1.0 1.1.0

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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.15, Flutter 3.24.5, Dart 3.5.4.

Check the analysis log for details.