corbado_auth 2.0.8
corbado_auth: ^2.0.8 copied to clipboard
Flutter package for Corbado Auth. Enables authentication on Android and iOS using passkeys.
We analyzed this package 2 days ago, and awarded it 100 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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.
10/10 points: 20% or more of the public API has dartdoc comments
142 out of 265 API elements (53.6 %) have documentation comments.
Some symbols that are missing documentation: corbado_auth.AllowCredential, corbado_auth.AllowCredential.AllowCredential.fromJson, corbado_auth.AllowCredential.toJson, corbado_auth.AuthState, corbado_auth.AuthenticatorException.AuthenticatorException.new.
10/10 points: Package has an example
20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:corbado_auth/corbado_auth.dartthat imports:package:corbado_auth/src/types/types.dartthat imports:package:corbado_auth/src/types/webauthn/types.dartthat imports:package:corbado_auth/src/types/webauthn/registration.dartthat imports:package:passkeys/types.dartthat imports:package:passkeys_doctor/passkeys_doctor.dartthat declares support for platforms:Android.
Package does not support platform `Linux`.
Because:
package:corbado_auth/corbado_auth.dartthat imports:package:corbado_auth/src/types/types.dartthat imports:package:corbado_auth/src/types/webauthn/types.dartthat imports:package:corbado_auth/src/types/webauthn/registration.dartthat imports:package:passkeys/types.dartthat declares support for platforms:Android,iOS,Windows,macOS,Web.
Package does not support platform `macOS`.
Because:
package:corbado_auth/corbado_auth.dartthat imports:package:corbado_auth/src/types/types.dartthat imports:package:corbado_auth/src/types/webauthn/types.dartthat imports:package:corbado_auth/src/types/webauthn/registration.dartthat imports:package:passkeys/types.dartthat imports:package:passkeys_doctor/passkeys_doctor.dartthat declares support for platforms:Android.
Package does not support platform `Web`.
Because:
package:corbado_auth/corbado_auth.dartthat imports:package:corbado_auth/src/types/types.dartthat imports:package:corbado_auth/src/types/webauthn/types.dartthat imports:package:corbado_auth/src/types/webauthn/registration.dartthat imports:package:passkeys/types.dartthat imports:package:passkeys_doctor/passkeys_doctor.dartthat declares support for platforms:Android.
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:corbado_auth/corbado_auth.dartthat imports:package:corbado_auth/src/types/types.dartthat imports:package:corbado_auth/src/types/webauthn/types.dartthat imports:package:corbado_auth/src/types/webauthn/registration.dartthat imports:package:passkeys/types.dartthat imports:package:passkeys_doctor/passkeys_doctor.dartthat imports:package:passkeys_doctor/src/types/exception_messages.dartthat imports:package:device_info_plus/device_info_plus.dartthat imports:package:device_info_plus/src/device_info_plus_windows.dartthat imports:package:win32_registry/win32_registry.dartthat declares support for platforms:Windows.
Package does not support platform `iOS`.
Because:
package:corbado_auth/corbado_auth.dartthat imports:package:corbado_auth/src/types/types.dartthat imports:package:corbado_auth/src/types/webauthn/types.dartthat imports:package:corbado_auth/src/types/webauthn/registration.dartthat imports:package:passkeys/types.dartthat imports:package:passkeys_doctor/passkeys_doctor.dartthat declares support for platforms:Android.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 7 issues. Showing the first 2:
ERROR: The named parameter 'preferImmediatelyAvailableCredentials' is required, but there's no corresponding argument.
lib/src/types/webauthn/authentication.dart:20:12
╷
20 │ return AuthenticateRequestType(
│ ^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/types/webauthn/authentication.dart
WARNING: The declaration '_$PasskeyInfoToJson' isn't referenced.
lib/src/types/passkey_info.g.dart:20:22
╷
20 │ Map<String, dynamic> _$PasskeyInfoToJson(PasskeyInfo instance) =>
│ ^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/types/passkey_info.g.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
corbado_frontend_api_client |
^1.1.1 |
1.1.1 | 2.2.0 | |
flutter_keychain |
^2.4.0 |
2.5.0 | 2.5.0 | |
http |
^1.1.2 |
1.6.0 | 1.6.0 | |
json_annotation |
^4.8.1 |
4.9.0 | 4.9.0 | |
jwt_decoder |
^2.0.1 |
2.0.1 | 2.0.1 | |
passkeys |
^2.0.9 |
2.17.4 | 2.17.4 | |
rxdart |
^0.27.7 |
0.27.7 | 0.28.0 | |
ua_client_hints |
^1.1.3 |
1.4.1 | 1.4.1 | |
universal_html |
^2.2.4 |
2.3.0 | 2.3.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
charcode |
- | 1.4.0 | 1.4.0 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
crypto |
- | 3.0.7 | 3.0.7 | |
csslib |
- | 1.0.2 | 1.0.2 | |
device_info_plus |
- | 11.5.0 | 12.3.0 | |
device_info_plus_platform_interface |
- | 7.0.3 | 7.0.3 | |
ffi |
- | 2.1.5 | 2.1.5 | |
file |
- | 7.0.1 | 7.0.1 | |
html |
- | 0.15.6 | 0.15.6 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
intl |
- | 0.19.0 | 0.20.2 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
openapi_generator_annotations |
- | 5.0.2 | 6.1.0 | |
package_info_plus |
- | 8.3.1 | 9.0.0 | |
package_info_plus_platform_interface |
- | 3.2.1 | 3.2.1 | |
passkeys_android |
- | 2.11.0 | 2.11.0 | |
passkeys_darwin |
- | 0.3.0 | 0.3.0 | |
passkeys_doctor |
- | 1.2.0 | 1.2.0 | |
passkeys_ios |
- | 2.9.0 | 2.9.0 | Discontinued |
passkeys_platform_interface |
- | 2.6.0 | 2.6.0 | |
passkeys_web |
- | 2.8.1 | 2.8.1 | |
passkeys_windows |
- | 0.1.1 | 0.1.1 | |
path |
- | 1.9.1 | 1.9.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
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 | |
universal_io |
- | 2.3.1 | 2.3.1 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
win32 |
- | 5.15.0 | 5.15.0 | |
win32_registry |
- | 2.1.0 | 2.1.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^1.1.1` 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 `^0.27.7` on rxdart does not support the stable version `0.28.0`.
Try running dart pub upgrade --major-versions rxdart 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.23.5, Flutter 3.38.5, Dart 3.10.4.
Check the analysis log for details.