medha_auth 1.0.4
medha_auth: ^1.0.4 copied to clipboard
A Flutter authentication library for SSO integration with Microsoft authentication
We analyzed this package 4 days ago, and awarded it 130 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Homepage URL doesn't exist.
At the time of the analysis https://github.com/Medhahealth-AI/sso_auth was unreachable. Make sure that the website is reachable via HEAD requests.
Repository URL doesn't exist.
At the time of the analysis https://github.com/Medhahealth-AI/sso_auth was unreachable. Make sure that the website is reachable via HEAD requests.
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.
0/10 points: 20% or more of the public API has dartdoc comments
3 out of 75 API elements (4.0 %) 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: medha_auth.AuthCancelledException, medha_auth.AuthCancelledException.AuthCancelledException.new, medha_auth.AuthClient, medha_auth.AuthClient.AuthClient.new, medha_auth.AuthClient.config.
10/10 points: Package has an example
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ macOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:medha_auth/medha_auth.dartthat imports:package:medha_auth/src/auth_client.dartthat imports:package:medha_auth/src/webview_auth.dartthat imports:package:webview_flutter/webview_flutter.dartthat declares support for platforms:Android,iOS,macOS.
Package does not support platform `Linux`.
Because:
package:medha_auth/medha_auth.dartthat imports:package:medha_auth/src/auth_client.dartthat imports:package:medha_auth/src/webview_auth.dartthat imports:package:webview_flutter/webview_flutter.dartthat declares support for platforms:Android,iOS,macOS.
Package does not support platform `Web`.
Because:
package:medha_auth/medha_auth.dartthat imports:package:medha_auth/src/auth_client.dartthat imports:package:medha_auth/src/webview_auth.dartthat imports:package:webview_flutter/webview_flutter.dartthat declares support for platforms:Android,iOS,macOS.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 3 issues. Showing the first 2:
INFO: Empty catch block.
lib/src/auth_client.dart:126:19
╷
126 │ } catch (e) {}
│ ^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/auth_client.dart
INFO: Empty catch block.
lib/src/auth_client.dart:144:19
╷
144 │ } catch (e) {}
│ ^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/auth_client.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
app_links |
^6.1.1 |
6.4.1 | 7.0.0 | |
flutter_secure_storage |
^9.0.0 |
9.2.4 | 10.0.0 | |
http |
^1.1.0 |
1.6.0 | 1.6.0 | |
webview_flutter |
^4.4.1 |
4.13.1 | 4.13.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
app_links_linux |
- | 1.0.3 | 1.0.3 | |
app_links_platform_interface |
- | 2.0.2 | 2.0.2 | |
app_links_web |
- | 1.0.4 | 1.0.4 | |
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.1 | 1.4.1 | |
code_assets |
- | 1.0.0 | 1.0.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
ffi |
- | 2.2.0 | 2.2.0 | |
file |
- | 7.0.1 | 7.0.1 | |
flutter_secure_storage_linux |
- | 1.2.3 | 3.0.0 | |
flutter_secure_storage_macos |
- | 3.1.3 | 4.0.0 | |
flutter_secure_storage_platform_interface |
- | 1.1.2 | 2.0.1 | |
flutter_secure_storage_web |
- | 1.2.1 | 2.1.0 | |
flutter_secure_storage_windows |
- | 3.1.2 | 4.1.0 | |
glob |
- | 2.1.3 | 2.1.3 | |
gtk |
- | 2.1.0 | 2.1.0 | |
hooks |
- | 1.0.1 | 1.0.1 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
js |
- | 0.6.7 | 0.7.2 | Discontinued |
logging |
- | 1.3.0 | 1.3.0 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.1 | |
native_toolchain_c |
- | 0.17.4 | 0.17.4 | |
objective_c |
- | 9.3.0 | 9.3.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider |
- | 2.1.5 | 2.1.5 | |
path_provider_android |
- | 2.2.22 | 2.2.22 | |
path_provider_foundation |
- | 2.6.0 | 2.6.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 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
source_span |
- | 1.10.2 | 1.10.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
webview_flutter_android |
- | 4.10.13 | 4.10.13 | |
webview_flutter_platform_interface |
- | 2.14.0 | 2.14.0 | |
webview_flutter_wkwebview |
- | 3.23.8 | 3.23.8 | |
win32 |
- | 5.15.0 | 6.0.0 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
yaml |
- | 3.1.3 | 3.1.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^6.1.1` on app_links does not support the stable version `7.0.0`.
Try running dart pub upgrade --major-versions app_links to update the constraint.
The constraint `^9.0.0` on flutter_secure_storage does not support the stable version `10.0.0`.
Try running dart pub upgrade --major-versions flutter_secure_storage 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.23.10, Flutter 3.41.2, Dart 3.11.0.
Check the analysis log for details.