msal_guard 0.0.1 copy "msal_guard: ^0.0.1" to clipboard
msal_guard: ^0.0.1 copied to clipboard

PlatformAndroidiOS
outdated

Guard widget for the Msal Flutter library

2
likes
120/ 160
pub points
11%
popularity

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

failed
Follow Dart file conventions
20 / 30trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

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

9 out of 45 API elements (20.0 %) have documentation comments.

Some symbols that are missing documentation: msal_guard, msal_guard.AuthenticatedHttp, msal_guard.AuthenticatedHttp.AuthenticatedHttp, msal_guard.AuthenticatedHttp.authService, msal_guard.AuthenticatedHttp.delete.

10/10 points: Package has an example

OK
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:msal_guard/msal_guard.dart that imports:
  • package:msal_guard/src/authentication_service.dart that imports:
  • package:msal_flutter/msal_flutter.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:msal_guard/msal_guard.dart that imports:
  • package:msal_guard/src/authentication_service.dart that imports:
  • package:msal_flutter/msal_flutter.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:msal_guard/msal_guard.dart that imports:
  • package:msal_guard/src/authentication_service.dart that imports:
  • package:msal_flutter/msal_flutter.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:msal_guard/msal_guard.dart that imports:
  • package:msal_guard/src/authentication_service.dart that imports:
  • package:msal_flutter/msal_flutter.dart that declares support for platforms: Android, iOS.
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 '!' will have no effect because the receiver can't be null.

lib/src/msal_guard_widget.dart:109:28

    ╷
109 │     WidgetsBinding.instance!.addPostFrameCallback((timeStamp) {
    │                            ^
    ╵

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

INFO: The variable name 'MsalException' isn't a lowerCamelCase identifier.

lib/src/authenticated_http.dart:57:14

   ╷
57 │     } catch (MsalException) {
   │              ^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/authenticated_http.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
flutter flutter 0.0.0 0.0.0
http >=0.13.1 <1.0.0 0.13.6 1.2.1
msal_flutter ^2.0.0 2.0.1 2.0.1
provider >=5.0.0 <7.0.0 6.1.2 6.1.2
rxdart >=0.26.0 <1.0.0 0.28.0 0.28.0
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
characters - 1.3.0 1.3.0
collection - 1.18.0 1.19.0
http_parser - 4.0.2 4.0.2
material_color_utilities - 0.8.0 0.12.0
meta - 1.12.0 1.15.0
nested - 1.0.0 1.0.0
path - 1.9.0 1.9.0
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
vector_math - 2.1.4 2.1.4

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

The constraint `>=0.13.1 <1.0.0` on http does not support the stable version `1.0.0`.

Try running dart pub upgrade --major-versions http 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.6, Flutter 3.22.2, Dart 3.4.3.

Check the analysis log for details.

2
likes
120
pub points
11%
popularity

Publisher

verified publishermuljin.com

Guard widget for the Msal Flutter library

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

flutter, http, msal_flutter, provider, rxdart

More

Packages that depend on msal_guard