openidconnect 1.0.28 copy "openidconnect: ^1.0.28" to clipboard
openidconnect: ^1.0.28 copied to clipboard

Platformweb

OpenIdConnect library for flutter.

19
likes
110/ 140
pub points
85%
popularity

We analyzed this package 2 days ago, and awarded it 110 pub points (of a possible 140):

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: Apache-2.0.

partial
Provide documentation
10 / 20trigger folding of the section

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

8 out of 192 API elements (4.2 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

Some symbols that are missing documentation: openidconnect, openidconnect.AuthEvent, openidconnect.AuthEvent.AuthEvent, openidconnect.AuthEvent.message, openidconnect.AuthEvent.type.

10/10 points: Package has an example

OK
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 does not support platform `Android`.

Because:

  • package:openidconnect/openidconnect.dart that declares support for platforms: Web.
Package does not support platform `iOS`.

Because:

  • package:openidconnect/openidconnect.dart that declares support for platforms: Web.
Package does not support platform `Windows`.

Because:

  • package:openidconnect/openidconnect.dart that declares support for platforms: Web.
Package does not support platform `Linux`.

Because:

  • package:openidconnect/openidconnect.dart that declares support for platforms: Web.
Package does not support platform `macOS`.

Because:

  • package:openidconnect/openidconnect.dart that declares support for platforms: Web.

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Web`.

Because:

  • package:openidconnect/openidconnect.dart that imports:
  • package:webview_flutter/webview_flutter.dart that declares support for platforms: Android, iOS.
partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 40 issues. Showing the first 2:

INFO: Statements in an if should be enclosed in a block.

lib/openidconnect.dart:148:7

    ╷
148 │ ┌       throw ArgumentError(
149 │ │         AUTHORIZE_ERROR_MESSAGE_FORMAT
150 │ │             .replaceAll("%1", AUTHORIZE_ERROR_CODE)
151 │ │             .replaceAll("%2", error),
152 │ └       );
    ╵

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

INFO: Statements in an if should be enclosed in a block.

lib/openidconnect.dart:156:7

    ╷
156 │       throw AuthenticationException(ERROR_INVALID_RESPONSE);
    │       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

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

OK
Support up-to-date dependencies
20 / 20trigger folding of the section

10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
cryptography ^2.7.0 2.7.0 2.7.0
cryptography_flutter ^2.3.2 2.3.2 2.3.2
flutter flutter 0.0.0 0.0.0
flutter_secure_storage ^9.0.0 9.0.0 9.0.0
flutter_web_plugins flutter 0.0.0 0.0.0
http ^1.2.1 1.2.1 1.2.1
jwt_decoder ^2.0.1 2.0.1 2.0.1
openidconnect_platform_interface ^1.0.15 1.0.15 1.0.15
openidconnect_web ^1.0.23 1.0.23 1.0.23
retry ^3.1.2 3.1.2 3.1.2
url_launcher ^6.2.5 6.2.5 6.2.5
webview_flutter ^4.7.0 4.7.0 4.7.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.18.0
crypto - 3.0.3 3.0.3
ffi - 2.1.2 2.1.2
flutter_secure_storage_linux - 1.2.0 1.2.0
flutter_secure_storage_macos - 3.0.1 3.0.1
flutter_secure_storage_platform_interface - 1.0.2 1.0.2
flutter_secure_storage_web - 1.1.2 1.1.2
flutter_secure_storage_windows - 3.0.0 3.0.0
http_parser - 4.0.2 4.0.2
js - 0.6.7 0.7.1
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.12.0
path - 1.9.0 1.9.0
path_provider - 2.1.2 2.1.2
path_provider_android - 2.2.2 2.2.2
path_provider_foundation - 2.3.2 2.3.2
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.2.1 2.2.1
platform - 3.1.4 3.1.4
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.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
url_launcher_android - 6.3.0 6.3.0
url_launcher_ios - 6.2.5 6.2.5
url_launcher_linux - 3.1.1 3.1.1
url_launcher_macos - 3.1.0 3.1.0
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.3.0 2.3.0
url_launcher_windows - 3.1.1 3.1.1
vector_math - 2.1.4 2.1.4
web - 0.5.1 0.5.1
webview_flutter_android - 3.16.0 3.16.0
webview_flutter_platform_interface - 2.10.0 2.10.0
webview_flutter_wkwebview - 3.13.0 3.13.0
win32 - 5.3.0 5.3.0
xdg_directories - 1.0.4 1.0.4

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

10/10 points: Package supports latest stable Dart and Flutter SDKs

Analyzed with Pana 0.22.2, Flutter 3.19.2, Dart 3.3.0.

Check the analysis log for details.