corbado_auth 1.2.1 copy "corbado_auth: ^1.2.1" to clipboard
corbado_auth: ^1.2.1 copied to clipboard

Flutter package for Corbado Auth. Enables authentication on Android and iOS using passkeys.

9
likes
140/ 160
pub points
78%
popularity

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

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

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.

OK
Provide documentation
20 / 20trigger folding of the section

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

88 out of 117 API elements (75.2 %) have documentation comments.

Some symbols that are missing documentation: corbado_auth.AuthState, corbado_auth.CorbadoAuth.deletePasskey, corbado_auth.CorbadoException, corbado_auth.CorbadoException.CorbadoException, corbado_auth.CorbadoFieldFactory.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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.dart that imports:
  • package:corbado_auth/src/types/types.dart that imports:
  • package:passkeys/sign_in_handler.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:corbado_auth/corbado_auth.dart that imports:
  • package:corbado_auth/src/types/types.dart that imports:
  • package:passkeys/sign_in_handler.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:corbado_auth/corbado_auth.dart that imports:
  • package:corbado_auth/src/types/types.dart that imports:
  • package:passkeys/sign_in_handler.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:corbado_auth/corbado_auth.dart that imports:
  • package:corbado_auth/src/types/types.dart that imports:
  • package:passkeys/sign_in_handler.dart that declares support for platforms: Android, iOS.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:corbado_auth/corbado_auth.dart that imports:
  • package:corbado_auth/src/types/types.dart that imports:
  • package:corbado_auth/src/types/passkey_info.dart that imports:
  • package:corbado_frontend_api_client/frontendapi/lib/api.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.

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

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

Found 3 issues. Showing the first 2:

/tmp/pana_NMFGPR/lib/src/types/auth_state.dart doesn't match the Dart formatter.

To format your files run: dart format .

/tmp/pana_NMFGPR/lib/src/types/email_otp_state.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
corbado_frontend_api_client ^1.0.0 1.1.0 2.0.0
flutter flutter 0.0.0 0.0.0
flutter_keychain ^2.4.0 2.5.0 2.5.0
json_annotation ^4.8.1 4.9.0 4.9.0
jwt_decoder ^2.0.1 2.0.1 2.0.1
passkeys ^1.3.1 1.3.2 2.1.0
rxdart ^0.27.7 0.27.7 0.28.0
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
characters - 1.3.0 1.3.1
clock - 1.1.2 1.1.2
collection - 1.18.0 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
http - 1.2.2 1.2.2
http_parser - 4.0.2 4.1.1
intl - 0.18.1 0.20.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
openapi_generator_annotations - 4.13.1 6.0.0
passkeys_android - 1.2.1 2.1.0
passkeys_ios - 1.2.0 2.1.0
passkeys_platform_interface - 1.2.0 2.1.0
path - 1.9.1 1.9.1
plugin_platform_interface - 2.1.8 2.1.8
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
string_scanner - 1.4.0 1.4.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.4.0 1.4.0
ua_client_hints - 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.

Found 3 issues. Showing the first 2:

The constraint `^1.0.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 `^1.3.1` on passkeys does not support the stable version `2.0.0`.

Try running dart pub upgrade --major-versions passkeys 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.15, Flutter 3.24.4, Dart 3.5.4.

Check the analysis log for details.

9
likes
140
pub points
78%
popularity

Publisher

verified publishercorbado.com

Flutter package for Corbado Auth. Enables authentication on Android and iOS using passkeys.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

corbado_frontend_api_client, flutter, flutter_keychain, json_annotation, jwt_decoder, passkeys, rxdart

More

Packages that depend on corbado_auth