fhir_auth 0.9.4 copy "fhir_auth: ^0.9.4" to clipboard
fhir_auth: ^0.9.4 copied to clipboard

Platformweb

A Dart/Flutter package for authorization & authentication, includes SMART on FHIR and Google sign-in

7
likes
130/ 160
pub points
60%
popularity

We analyzed this package 3 hours ago, and awarded it 130 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: MIT.

OK
Provide documentation
20 / 20trigger folding of the section

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

112 out of 180 API elements (62.2 %) have documentation comments.

Some symbols that are missing documentation: authenticate, base_authentication, base_authentication.BaseAuthentication.authenticate, clinical_scope, clinical_scope.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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

  • ✓ Web

These platforms are not supported:

Package not compatible with platform Android

Because:

  • package:fhir_auth/fhir_client/authenticate/web_authentication.dart that imports:
  • dart:html
Package not compatible with platform iOS

Because:

  • package:fhir_auth/fhir_client/authenticate/web_authentication.dart that imports:
  • dart:html
Package does not support platform `Windows`.

Because:

  • package:fhir_auth/dstu2.dart that imports:
  • package:fhir_auth/fhir_client/export.dart that imports:
  • package:fhir_auth/fhir_client/smart_fhir_client.dart that imports:
  • package:fhir_auth/fhir_client/authenticate/mobile_authentication.dart that imports:
  • package:flutter_web_auth/flutter_web_auth.dart that declares support for platforms: Android, iOS, macOS, Web.
Package does not support platform `Linux`.

Because:

  • package:fhir_auth/dstu2.dart that imports:
  • package:fhir_auth/fhir_client/export.dart that imports:
  • package:fhir_auth/fhir_client/smart_fhir_client.dart that imports:
  • package:fhir_auth/fhir_client/authenticate/mobile_authentication.dart that imports:
  • package:flutter_web_auth/flutter_web_auth.dart that declares support for platforms: Android, iOS, macOS, Web.
Package does not support platform `macOS`.

Because:

  • package:fhir_auth/dstu2.dart that imports:
  • package:fhir_auth/fhir_client/export.dart that imports:
  • package:fhir_auth/fhir_client/gcp_fhir_client.dart that imports:
  • package:google_sign_in/google_sign_in.dart that declares support for platforms: Android, iOS, Web.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:fhir_auth/fhir_client/authenticate/web_authentication.dart that imports:
  • dart:html

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
Pass static analysis
30 / 50trigger folding of the section

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

Found 4 issues. Showing the first 2:

WARNING: The parameter type of '==' operators should be non-nullable.

lib/scopes/dstu2/scopes.freezed.dart:369:17

    ╷
369 │   bool operator ==(dynamic other) {
    │                 ^^
    ╵

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

WARNING: The parameter type of '==' operators should be non-nullable.

lib/scopes/r4/scopes.freezed.dart:369:17

    ╷
369 │   bool operator ==(dynamic other) {
    │                 ^^
    ╵

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

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
collection ^1.17.0 1.19.0 1.19.1
crypto ^3.0.2 3.0.6 3.0.6
fhir ^0.9.4 0.9.5 0.12.0
flutter flutter 0.0.0 0.0.0
flutter_web_auth ^0.5.0 0.5.0 0.6.0
flutter_web_plugins flutter 0.0.0 0.0.0
freezed_annotation ^2.2.0 2.4.4 2.4.4
google_sign_in ^5.4.4 5.4.4 6.2.2
http ^0.13.5 0.13.6 1.2.2
http_parser ^4.0.2 4.1.1 4.1.1
jwt_decoder ^2.0.1 2.0.1 2.0.1
oauth2 ^2.0.1 2.0.2 2.0.3
url_launcher ^6.1.9 6.3.1 6.3.1
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
characters - 1.3.0 1.3.1
google_sign_in_android - 6.1.34 6.1.34
google_sign_in_ios - 5.7.8 5.7.8
google_sign_in_platform_interface - 2.4.5 2.4.5
google_sign_in_web - 0.10.2+1 0.12.4+3
js - 0.6.7 0.7.1
json_annotation - 4.9.0 4.9.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path - 1.9.1 1.9.1
petitparser - 6.0.2 6.0.2
plugin_platform_interface - 2.1.8 2.1.8
sky_engine - 0.0.0 0.0.0
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
url_launcher_android - 6.3.14 6.3.14
url_launcher_ios - 6.3.2 6.3.2
url_launcher_linux - 3.2.1 3.2.1
url_launcher_macos - 3.2.2 3.2.2
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.3.3 2.3.3
url_launcher_windows - 3.1.3 3.1.3
uuid - 3.0.7 4.5.1
vector_math - 2.1.4 2.1.4
web - 1.1.0 1.1.0
xml - 6.5.0 6.5.0
xml2json - 5.3.6 6.2.5
yaml - 3.1.2 3.1.2

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

Found 4 issues. Showing the first 2:

The constraint `^0.9.4` on fhir does not support the stable version `0.10.0`.

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

The constraint `^0.5.0` on flutter_web_auth does not support the stable version `0.6.0`.

Try running dart pub upgrade --major-versions flutter_web_auth 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.16, Flutter 3.27.0-0.2.pre, Dart 3.6.0-334.4.beta.

Check the analysis log for details.