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

Platformweb

OpenIdConnect library for flutter.

20
likes
130/ 160
pub points
87%
popularity

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

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

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

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

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:openidconnect/openidconnect.dart that imports:
  • package:flutter_secure_storage/flutter_secure_storage.dart that imports:
  • package:flutter_secure_storage_platform_interface/flutter_secure_storage_platform_interface.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.

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
40 / 40trigger 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
flutter flutter 0.0.0 0.0.0
flutter_secure_storage ^9.0.0 9.2.2 9.2.2
flutter_web_plugins flutter 0.0.0 0.0.0
http ^1.2.1 1.2.2 1.2.2
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.3.1 6.3.1
webview_flutter ^4.7.0 4.10.0 4.10.0
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
characters - 1.3.0 1.3.1
collection - 1.18.0 1.19.1
crypto - 3.0.6 3.0.6
ffi - 2.1.3 2.1.3
flutter_secure_storage_linux - 1.2.1 1.2.1
flutter_secure_storage_macos - 3.1.2 3.1.2
flutter_secure_storage_platform_interface - 1.1.2 1.1.2
flutter_secure_storage_web - 1.2.1 1.2.1
flutter_secure_storage_windows - 3.1.2 3.1.2
http_parser - 4.0.2 4.1.1
js - 0.6.7 0.7.1
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path - 1.9.1 1.9.1
path_provider - 2.1.5 2.1.5
path_provider_android - 2.2.12 2.2.12
path_provider_foundation - 2.4.0 2.4.0
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
sky_engine - 0.0.99 0.0.99
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.1 6.3.1
url_launcher_linux - 3.2.1 3.2.1
url_launcher_macos - 3.2.1 3.2.1
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
vector_math - 2.1.4 2.1.4
web - 1.1.0 1.1.0
webview_flutter_android - 4.1.0 4.1.0
webview_flutter_platform_interface - 2.10.0 2.10.0
webview_flutter_wkwebview - 3.16.3 3.16.3
win32 - 5.8.0 5.8.0
xdg_directories - 1.1.0 1.1.0

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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.15, Flutter 3.24.5, Dart 3.5.4.

Check the analysis log for details.