openidconnect 1.0.29 openidconnect: ^1.0.29 copied to clipboard
OpenIdConnect library for flutter.
We analyzed this package 12 hours ago, and awarded it 130 pub points (of a possible 160):
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
.
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
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.
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
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
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.