aad_oauth 1.0.1 aad_oauth: ^1.0.1 copied to clipboard
A Flutter OAuth package for performing user authentication against Azure Active Directory OAuth2 v2.0 endpoint.
We analyzed this package 36 hours ago, and awarded it 140 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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: MIT
.
10/10 points: 20% or more of the public API has dartdoc comments
104 out of 185 API elements (56.2 %) have documentation comments.
Some symbols that are missing documentation: auth_storage
, auth_storage.AuthStorage
, auth_storage.AuthStorage.AuthStorage
, auth_storage.AuthStorage.clear
, auth_storage.AuthStorage.emptyToken
.
10/10 points: Package has an example
20/20 points: Supports 4 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ macOS
-
✓ Web
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:aad_oauth/aad_oauth.dart
that imports:package:aad_oauth/helper/core_oauth.dart
that imports:package:aad_oauth/helper/mobile_oauth.dart
that imports:package:aad_oauth/request_code.dart
that imports:package:webview_flutter/webview_flutter.dart
that declares support for platforms:Android
,iOS
,macOS
.
Package does not support platform `Linux`.
Because:
package:aad_oauth/aad_oauth.dart
that imports:package:aad_oauth/helper/core_oauth.dart
that imports:package:aad_oauth/helper/mobile_oauth.dart
that imports:package:aad_oauth/request_code.dart
that imports:package:webview_flutter/webview_flutter.dart
that declares support for platforms:Android
,iOS
,macOS
.
These issues are present but do not affect the score, because they may not originate in your package:
Package not compatible with platform Web
Because:
package:aad_oauth/aad_oauth.dart
that imports:package:aad_oauth/model/config.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
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:aad_oauth/aad_oauth.dart
that imports:package:aad_oauth/model/config.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
INFO: 'onPopInvoked' is deprecated and shouldn't be used. Use onPopInvokedWithResult instead. This feature was deprecated after v3.22.0-12.0.pre.
lib/request_code.dart:62:13
╷
62 │ onPopInvoked: (bool didPop) async {
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/request_code.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
dartz |
^0.10.1 |
0.10.1 | 0.10.1 |
equatable |
^2.0.5 |
2.0.7 | 2.0.7 |
flutter |
flutter |
0.0.0 | 0.0.0 |
flutter_secure_storage |
^9.0.0 |
9.2.2 | 9.2.2 |
http |
^1.1.0 |
1.2.2 | 1.2.2 |
js |
^0.6.7 |
0.6.7 | 0.7.1 |
shared_preferences |
^2.2.1 |
2.3.4 | 2.3.4 |
webview_flutter |
^4.4.1 |
4.10.0 | 4.10.0 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^0.6.7` on js does not support the stable version `0.7.0`.
Try running dart pub upgrade --major-versions js
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.17
, Flutter 3.27.0
, Dart 3.6.0
.
Check the analysis log for details.