serverpod_auth_server 2.9.2
serverpod_auth_server: ^2.9.2 copied to clipboard
Serverpod authentication server module.
We analyzed this package 6 hours ago, and awarded it 60 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 50 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: BSD-3-Clause.
10/10 points: 20% or more of the public API has dartdoc comments
502 out of 613 API elements (81.9 %) have documentation comments.
Some symbols that are missing documentation: module, serverpod_auth_server, serverpod_auth_server.AppleAuthInfo.AppleAuthInfo.fromJson, serverpod_auth_server.AppleAuthInfo.AppleAuthInfo.new, serverpod_auth_server.AuthKey.AuthKey.fromJson.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package not compatible with platform Web
Because:
package:serverpod_auth_server/serverpod_auth_server.dartthat imports:package:serverpod_auth_server/src/web/routes/route_google_sign_in.dartthat imports:package:serverpod_auth_server/src/web/widgets/google_sign_in_redirect_page_widget.dartthat imports:package:serverpod/serverpod.dartthat imports:package:serverpod/diagnostic_events.dartthat imports:package:serverpod/src/server/diagnostic_events/operation_context.dartthat imports:package:serverpod/src/server/diagnostic_events/connection_info.dartthat imports:dart:io
0/0 points: WASM compatibility
Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 1261 issues. Showing the first 2:
ERROR: A value of type 'dynamic' can't be assigned to a variable of type 'Map
lib/src/business/firebase_auth.dart:28:38
╷
28 │ firebaseServiceAccountJson = jsonDecode(password);
│ ^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/business/firebase_auth.dart
ERROR: A value of type 'dynamic' can't be assigned to a variable of type 'Map
lib/src/business/firebase_auth.dart:30:38
╷
30 │ firebaseServiceAccountJson = jsonDecode(
│ ┌──────────────────────────────────────^
31 │ │ await File(AuthConfig.current.firebaseServiceAccountKeyJson)
32 │ │ .readAsString(),
33 │ │ );
│ └─────────^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/business/firebase_auth.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
crypto |
^3.0.2 |
3.0.6 | 3.0.6 | |
email_validator |
>=2.1.17 <4.0.0 |
3.0.0 | 3.0.0 | |
googleapis |
>=11.0.0 <15.0.0 |
14.0.0 | 15.0.0 | |
googleapis_auth |
>=1.6.0 <3.0.0 |
2.0.0 | 2.0.0 | |
http |
>=1.1.0 <2.0.0 |
1.5.0 | 1.5.0 | |
image |
^4.0.15 |
4.5.4 | 4.5.4 | |
jose |
^0.3.3 |
0.3.5 | 0.3.5 | |
meta |
^1.11.0 |
1.17.0 | 1.17.0 | |
openid_client |
^0.4.8 |
0.4.9+1 | 0.4.9+1 | |
pointycastle |
^3.7.4 |
3.9.1 | 4.0.0 | |
serverpod |
2.9.2 |
2.9.2 | 2.9.2 | |
serverpod_serialization |
2.9.2 |
2.9.2 | 2.9.2 | |
serverpod_shared |
2.9.2 |
2.9.2 | 2.9.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
_discoveryapis_commons |
- | 1.0.7 | 1.0.7 | |
archive |
- | 4.0.7 | 4.0.7 | |
args |
- | 2.7.0 | 2.7.0 | |
asn1lib |
- | 1.6.5 | 1.6.5 | |
async |
- | 2.13.0 | 2.13.0 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
buffer |
- | 1.2.3 | 1.2.3 | |
charcode |
- | 1.4.0 | 1.4.0 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
crypto_keys |
- | 0.3.0+1 | 0.3.0+2 | |
ffi |
- | 2.1.4 | 2.1.4 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
google_identity_services_web |
- | 0.3.3+1 | 0.3.3+1 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
js |
- | 0.7.2 | 0.7.2 | Discontinued |
logging |
- | 1.3.0 | 1.3.0 | |
matcher |
- | 0.12.17 | 0.12.17 | |
mustache_template |
- | 2.0.2 | 2.0.2 | |
path |
- | 1.9.1 | 1.9.1 | |
petitparser |
- | 7.0.1 | 7.0.1 | |
pool |
- | 1.5.2 | 1.5.2 | |
posix |
- | 6.0.3 | 6.0.3 | |
postgres |
- | 3.5.9 | 3.5.9 | |
quiver |
- | 3.2.2 | 3.2.2 | |
redis |
- | 4.0.0 | 4.0.0 | |
retry |
- | 3.1.2 | 3.1.2 | |
source_span |
- | 1.10.1 | 1.10.1 | |
sprintf |
- | 7.0.0 | 7.0.0 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
super_string |
- | 1.0.3 | 1.0.3 | |
synchronized |
- | 3.4.0 | 3.4.0 | |
system_resources |
- | 1.6.0 | 1.6.0 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
test_api |
- | 0.7.7 | 0.7.7 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
uuid |
- | 4.5.1 | 4.5.1 | |
vm_service |
- | 15.0.2 | 15.0.2 | |
web |
- | 1.1.1 | 1.1.1 | |
x509 |
- | 0.2.4+3 | 0.2.4+3 | |
xml |
- | 6.6.1 | 6.6.1 | |
yaml |
- | 3.1.3 | 3.1.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `>=11.0.0 <15.0.0` on googleapis does not support the stable version `15.0.0`.
Try running dart pub upgrade --major-versions googleapis to update the constraint.
The constraint `^3.7.4` on pointycastle does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions pointycastle to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 64 errors:
INVALID_ASSIGNMENT-lib/src/business/firebase_auth.dart:28:38- A value of type 'dynamic' can't be assigned to a variable of type 'Map<String, dynamic>'.INVALID_ASSIGNMENT-lib/src/business/firebase_auth.dart:30:38- A value of type 'dynamic' can't be assigned to a variable of type 'Map<String, dynamic>'.INVALID_ASSIGNMENT-lib/src/business/google_auth.dart:42:17- A value of type 'dynamic' can't be assigned to a variable of type 'Map<dynamic, dynamic>'.
Run dart pub downgrade and then dart analyze to reproduce the above problem.
You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.23.0, Dart 3.9.4.
Check the analysis log for details.