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
202
downloads

We analyzed this package 2 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: MIT.

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

112 out of 193 API elements (58.0 %) have documentation comments.

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

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 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.

Failed check 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 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 5 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 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
collection ^1.17.0 1.19.1 1.19.1
crypto ^3.0.2 3.0.6 3.0.6
fhir ^0.9.4 0.9.5 0.12.0
flutter_web_auth ^0.5.0 0.5.0 0.6.0
freezed_annotation ^2.2.0 2.4.4 3.0.0
google_sign_in ^5.4.4 5.4.4 6.3.0
http ^0.13.5 0.13.6 1.3.0
http_parser ^4.0.2 4.1.2 4.1.2
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 Notes
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.0
google_sign_in_android - 6.2.1 6.2.1
google_sign_in_ios - 5.9.0 5.9.0
google_sign_in_platform_interface - 2.5.0 2.5.0
google_sign_in_web - 0.10.2+1 0.12.4+4
js - 0.6.7 0.7.2 Discontinued
json_annotation - 4.9.0 4.9.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.16.0 1.16.0
path - 1.9.1 1.9.1
petitparser - 6.1.0 6.1.0
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
url_launcher_android - 6.3.16 6.3.16
url_launcher_ios - 6.3.3 6.3.3
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.4.0 2.4.0
url_launcher_windows - 3.1.4 3.1.4
uuid - 3.0.7 4.5.1
vector_math - 2.1.4 2.1.5
web - 1.1.1 1.1.1
xml - 6.5.0 6.5.0
xml2json - 5.3.6 6.2.7
yaml - 3.1.3 3.1.3

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

Found 5 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.

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:
7
likes
130
points
202
downloads

Publisher

verified publisherfhirfli.dev

Weekly Downloads

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

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

collection, crypto, fhir, flutter, flutter_web_auth, flutter_web_plugins, freezed_annotation, google_sign_in, http, http_parser, jwt_decoder, oauth2, url_launcher

More

Packages that depend on fhir_auth