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

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

10
likes
130/ 160
pub points
694
downloads

We analyzed this package 3 days 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-3-Clause.

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

122 out of 362 API elements (33.7 %) have documentation comments.

Some symbols that are missing documentation: corbado_auth.AllowCredential, corbado_auth.AllowCredential.AllowCredential.fromJson, corbado_auth.AllowCredential.toJson, corbado_auth.AuthProcessType, corbado_auth.AuthState.

Passed check 10/10 points: Package has an example

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

Passed check 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:corbado_auth/src/types/webauthn/types.dart that imports:
  • package:corbado_auth/src/types/webauthn/registration.dart that imports:
  • package:passkeys/types.dart that declares support for platforms: Android, iOS, Web.
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:corbado_auth/src/types/webauthn/types.dart that imports:
  • package:corbado_auth/src/types/webauthn/registration.dart that imports:
  • package:passkeys/types.dart that declares support for platforms: Android, iOS, Web.
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:corbado_auth/src/types/webauthn/types.dart that imports:
  • package:corbado_auth/src/types/webauthn/registration.dart that imports:
  • package:passkeys/types.dart that declares support for platforms: Android, iOS, Web.
Package not compatible with platform Web

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/corbado_frontend_api_client.dart that imports:
  • package:corbado_frontend_api_client/src/api.dart that imports:
  • dart:io

Failed check 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/corbado_frontend_api_client.dart that imports:
  • package:corbado_frontend_api_client/src/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.

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 48 issues. Showing the first 2:

WARNING: The exception variable 'e' isn't used, so the 'catch' clause can be removed.

lib/src/blocks/login_init_block.dart:87:40

87 │     } on AuthenticatorException catch (e) {
   │                                        ^
   ╵
copied to clipboard

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

WARNING: The member 'alternatives' can only be used within instance members of subclasses of 'package:corbado_auth/src/blocks/types.dart'.

lib/src/process_handler.dart:36:21

   ╷
36 │     newPrimaryBlock.alternatives = alternatives;
   │                     ^^^^^^^^^^^^
   ╵
copied to clipboard

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/process_handler.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
built_collection ^5.1.1 5.1.1 5.1.1
corbado_frontend_api_client ^2.1.1 2.1.1 2.1.1
dio ^5.7.0 5.8.0+1 5.8.0+1
flutter_secure_storage >8.0.0 <=9.0.0 9.0.0 9.2.4
http ^1.1.2 1.3.0 1.3.0
json_annotation ^4.8.1 4.9.0 4.9.0
jwt_decoder ^2.0.1 2.0.1 2.0.1
meta ^1.15.0 1.16.0 1.16.0
passkeys ^2.7.1 2.7.1 2.7.1
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.2.4 2.2.4
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
boolean_selector - 2.1.2 2.1.2
built_value - 8.9.5 8.9.5
characters - 1.4.0 1.4.0
charcode - 1.4.0 1.4.0
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
csslib - 1.0.2 1.0.2
dio_web_adapter - 2.1.1 2.1.1
ffi - 2.1.4 2.1.4
fixnum - 1.1.1 1.1.1
flutter_secure_storage_linux - 1.2.2 2.0.1
flutter_secure_storage_macos - 3.1.3 4.0.0
flutter_secure_storage_platform_interface - 1.1.2 2.0.1
flutter_secure_storage_web - 1.2.1 2.0.0
flutter_secure_storage_windows - 3.1.2 4.0.0
html - 0.15.5 0.15.5
http_parser - 4.1.2 4.1.2
js - 0.6.7 0.7.2 Discontinued
matcher - 0.12.17 0.12.17
material_color_utilities - 0.11.1 0.12.0
one_of - 1.5.0 1.5.0
one_of_serializer - 1.5.0 1.5.0
passkeys_android - 2.7.0 2.7.0
passkeys_ios - 2.6.0 2.6.0
passkeys_platform_interface - 2.3.1 2.3.1
passkeys_web - 2.5.1 2.5.1
path - 1.9.1 1.9.1
path_provider - 2.1.5 2.1.5
path_provider_android - 2.2.16 2.2.16
path_provider_foundation - 2.4.1 2.4.1
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
quiver - 3.2.2 3.2.2
source_span - 1.10.1 1.10.1
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
test_api - 0.7.4 0.7.4
typed_data - 1.4.0 1.4.0
universal_io - 2.2.2 2.2.2
vector_math - 2.1.4 2.1.4
web - 1.1.1 1.1.1
win32 - 5.12.0 5.12.0
xdg_directories - 1.1.0 1.1.0

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

The constraint `>8.0.0 <=9.0.0` on flutter_secure_storage does not support the stable version `9.1.0`.

Try running dart pub upgrade --major-versions flutter_secure_storage 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.

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.22.20, Flutter 3.29.2, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
Jun 28Jul 26Aug 23Sep 20Oct 18Nov 15Dec 13Jan 10Feb 7Mar 7050100150200250300>=0.0.0-0 <1.0.0>=1.0.0-0 <2.0.0>=2.0.0-0 <3.0.0>=3.0.0-0 <4.0.0
10
likes
130
points
694
downloads

Publisher

verified publishercorbado.com

Weekly Downloads

2024.09.13 - 2025.03.28

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

Homepage
Repository (GitHub)
Contributing

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

built_collection, corbado_frontend_api_client, dio, flutter, flutter_secure_storage, http, json_annotation, jwt_decoder, meta, passkeys, rxdart, ua_client_hints, universal_html

More

Packages that depend on corbado_auth