amplify_auth_cognito_dart 0.10.13 amplify_auth_cognito_dart: ^0.10.13 copied to clipboard
A Dart-only implementation of the Amplify Auth plugin for Cognito.
We analyzed this package 33 hours ago, and awarded it 120 pub points (of a possible 140):
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: Apache-2.0
.
10/10 points: 20% or more of the public API has dartdoc comments
1020 out of 1094 API elements (93.2 %) have documentation comments.
Some symbols that are missing documentation: amplify_auth_cognito_dart.ASFContextDataBuilder
, amplify_auth_cognito_dart.ASFContextDataBuilder.ASFContextDataBuilder
, amplify_auth_cognito_dart.ASFContextDataBuilder.applicationName
, amplify_auth_cognito_dart.ASFContextDataBuilder.applicationVersion
, amplify_auth_cognito_dart.ASFContextDataBuilder.clientTimezone
.
10/10 points: Package has an example
20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Windows
- ✓ Web
These platforms are not supported:
Package does not support platform `Android`.
Because:
package:amplify_auth_cognito_dart/amplify_auth_cognito_dart.dart
that imports:package:amplify_auth_cognito_dart/src/auth_plugin_impl.dart
that imports:package:amplify_secure_storage_dart/amplify_secure_storage_dart.dart
that declares support for platforms:iOS
,Windows
,Linux
,macOS
,Web
.
Package does not support platform `iOS`.
Because:
package:amplify_auth_cognito_dart/amplify_auth_cognito_dart.dart
that imports:package:amplify_auth_cognito_dart/src/auth_plugin_impl.dart
that imports:package:amplify_secure_storage_dart/amplify_secure_storage_dart.dart
that imports:package:amplify_secure_storage_dart/src/mixins/amplify_secure_storage_mixin.dart
that imports:package:amplify_secure_storage_dart/src/mixins/amplify_secure_storage_mixin.vm.dart
that imports:package:amplify_secure_storage_dart/src/platforms/amplify_secure_storage_windows.dart
that imports:package:amplify_secure_storage_dart/src/ffi/win32/data_protection.dart
that imports:package:win32/win32.dart
that declares support for platforms:Windows
.
Package does not support platform `Linux`.
Because:
package:amplify_auth_cognito_dart/amplify_auth_cognito_dart.dart
that imports:package:amplify_auth_cognito_dart/src/auth_plugin_impl.dart
that imports:package:amplify_secure_storage_dart/amplify_secure_storage_dart.dart
that imports:package:amplify_secure_storage_dart/src/mixins/amplify_secure_storage_mixin.dart
that imports:package:amplify_secure_storage_dart/src/mixins/amplify_secure_storage_mixin.vm.dart
that imports:package:amplify_secure_storage_dart/src/platforms/amplify_secure_storage_windows.dart
that imports:package:amplify_secure_storage_dart/src/ffi/win32/data_protection.dart
that imports:package:win32/win32.dart
that declares support for platforms:Windows
.
Package does not support platform `macOS`.
Because:
package:amplify_auth_cognito_dart/amplify_auth_cognito_dart.dart
that imports:package:amplify_auth_cognito_dart/src/auth_plugin_impl.dart
that imports:package:amplify_secure_storage_dart/amplify_secure_storage_dart.dart
that imports:package:amplify_secure_storage_dart/src/mixins/amplify_secure_storage_mixin.dart
that imports:package:amplify_secure_storage_dart/src/mixins/amplify_secure_storage_mixin.vm.dart
that imports:package:amplify_secure_storage_dart/src/platforms/amplify_secure_storage_windows.dart
that imports:package:amplify_secure_storage_dart/src/ffi/win32/data_protection.dart
that imports:package:win32/win32.dart
that declares support for platforms:Windows
.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 49 issues. Showing the first 2:
INFO: The declaration '_$JsonWebKeySetFromJson' isn't referenced.
lib/src/jwt/src/keyset.g.dart:9:15
╷
9 │ JsonWebKeySet _$JsonWebKeySetFromJson(Map<String, dynamic> json) =>
│ ^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/jwt/src/keyset.g.dart
INFO: 'CognitoSendUserAttributeVerificationCodeOptions' is deprecated and shouldn't be used. Use SendUserAttributeVerificationCodeOptions instead. If Cognito-specific options are needed, use `pluginOptions`:\n\nSendUserAttributeVerificationCodeOptions(\n pluginOptions: CognitoSendUserAttributeVerificationCodePluginOptions(\n clientMetadata: {\n 'my-key': 'my-value',\n },\n ),\n).
lib/src/model/attribute/cognito_send_user_attribute_verification_code_options.g.dart:9:1
╷
9 │ CognitoSendUserAttributeVerificationCodeOptions
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/model/attribute/cognito_send_user_attribute_verification_code_options.g.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
amplify_analytics_pinpoint_dart |
>=0.3.8 <0.4.0 |
0.3.8 | 0.3.8 |
amplify_core |
>=1.8.0 <1.9.0 |
1.8.0 | 1.8.0 |
amplify_secure_storage_dart |
>=0.4.4 <0.5.0 |
0.4.4 | 0.4.4 |
async |
^2.10.0 |
2.11.0 | 2.11.0 |
aws_common |
>=0.6.4 <0.7.0 |
0.6.4 | 0.6.4 |
aws_signature_v4 |
>=0.5.2 <0.6.0 |
0.5.2 | 0.5.2 |
built_collection |
^5.0.0 |
5.1.1 | 5.1.1 |
built_value |
^8.6.0 |
8.9.2 | 8.9.2 |
clock |
^1.1.1 |
1.1.1 | 1.1.1 |
collection |
^1.15.0 |
1.18.0 | 1.18.0 |
convert |
^3.0.1 |
3.1.1 | 3.1.1 |
crypto |
^3.0.1 |
3.0.3 | 3.0.3 |
ffi |
^2.0.2 |
2.1.2 | 2.1.2 |
fixnum |
^1.0.0 |
1.1.0 | 1.1.0 |
http |
>=0.13.0 <2.0.0 |
1.2.1 | 1.2.1 |
intl |
>=0.18.0 <1.0.0 |
0.19.0 | 0.19.0 |
js |
^0.6.4 |
0.6.7 | 0.7.1 |
json_annotation |
>=4.8.1 <4.9.0 |
4.8.1 | 4.9.0 |
meta |
^1.7.0 |
1.14.0 | 1.14.0 |
oauth2 |
^2.0.2 |
2.0.2 | 2.0.2 |
path |
>=1.8.0 <2.0.0 |
1.9.0 | 1.9.0 |
smithy |
>=0.6.4 <0.7.0 |
0.6.4 | 0.6.4 |
smithy_aws |
>=0.6.3 <0.7.0 |
0.6.3 | 0.6.3 |
stream_transform |
^2.0.0 |
2.1.0 | 2.1.0 |
uuid |
>=3.0.6 <5.0.0 |
4.4.0 | 4.4.0 |
win32 |
>=4.1.2 <6.0.0 |
5.5.0 | 5.5.0 |
win32_registry |
^1.1.0 |
1.1.3 | 1.1.3 |
worker_bee |
>=0.2.4 <0.3.0 |
0.2.4 | 0.2.4 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
amplify_db_common_dart |
- | 0.3.7 | 0.3.7 |
crclib |
- | 3.0.0 | 3.0.0 |
drift |
- | 2.14.1 | 2.17.0 |
file |
- | 7.0.0 | 7.0.0 |
graphs |
- | 2.3.1 | 2.3.1 |
http2 |
- | 2.3.0 | 2.3.0 |
http_parser |
- | 4.0.2 | 4.0.2 |
logging |
- | 1.2.0 | 1.2.0 |
mime |
- | 1.0.5 | 1.0.5 |
os_detect |
- | 2.0.1 | 2.0.1 |
petitparser |
- | 6.0.2 | 6.0.2 |
retry |
- | 3.1.2 | 3.1.2 |
shelf |
- | 1.4.1 | 1.4.1 |
source_span |
- | 1.10.0 | 1.10.0 |
sprintf |
- | 7.0.0 | 7.0.0 |
sqlite3 |
- | 2.4.2 | 2.4.2 |
stack_trace |
- | 1.11.1 | 1.11.1 |
stream_channel |
- | 2.1.2 | 2.1.2 |
string_scanner |
- | 1.2.0 | 1.2.0 |
term_glyph |
- | 1.2.1 | 1.2.1 |
tuple |
- | 2.0.2 | 2.0.2 |
typed_data |
- | 1.3.2 | 1.3.2 |
web |
- | 0.5.1 | 0.5.1 |
xml |
- | 6.5.0 | 6.5.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^0.6.4` on js does not support the stable version `0.7.0`.
Try running dart pub upgrade --major-versions js
to update the constraint.
The constraint `>=4.8.1 <4.9.0` on json_annotation does not support the stable version `4.9.0`, that was published 1 days ago.
When json_annotation is 30 days old, this package will no longer be awarded points in this category.
Try running dart pub upgrade --major-versions json_annotation
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
Analyzed with Pana 0.22.3
, Dart 3.3.3
.
Check the analysis log for details.