magic_ext_oauth 0.4.7 copy "magic_ext_oauth: ^0.4.7" to clipboard
magic_ext_oauth: ^0.4.7 copied to clipboard

A Magic oauth extension to support Magic social login authentication

2
likes
120/ 160
pub points
86
downloads

We analyzed this package 5 days ago, and awarded it 120 pub points (of a possible 160):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

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.

partial
Provide documentation
10 / 20trigger folding of the section

0/10 points: 20% or more of the public API has dartdoc comments

9 out of 83 API elements (10.8 %) 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: magic_ext_oauth, magic_ext_oauth.MagicOAuthExtension.oauth, magic_ext_oauth.OAuthExtension.provider, magic_ext_oauth.OAuthExtension.sendToProviderWithMap, oauth_challenge.

10/10 points: Package has an example

failed
Platform support
0 / 20trigger folding of the section

0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

These platforms are not supported:

Package does not support platform `Android`.

Because:

  • package:magic_ext_oauth/magic_ext_oauth.dart that imports:
  • package:magic_sdk/relayer/url_builder.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_windows.dart that imports:
  • package:package_info_plus/src/file_version_info.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:magic_ext_oauth/magic_ext_oauth.dart that imports:
  • package:magic_sdk/relayer/url_builder.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_windows.dart that imports:
  • package:package_info_plus/src/file_version_info.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `Windows`.

Because:

  • package:magic_ext_oauth/magic_ext_oauth.dart that imports:
  • package:magic_sdk/provider/rpc_provider.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:magic_ext_oauth/magic_ext_oauth.dart that imports:
  • package:magic_sdk/relayer/url_builder.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_windows.dart that imports:
  • package:package_info_plus/src/file_version_info.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `macOS`.

Because:

  • package:magic_ext_oauth/magic_ext_oauth.dart that imports:
  • package:magic_sdk/relayer/url_builder.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_windows.dart that imports:
  • package:package_info_plus/src/file_version_info.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `Web`.

Because:

  • package:magic_ext_oauth/magic_ext_oauth.dart that imports:
  • package:magic_sdk/provider/rpc_provider.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:magic_ext_oauth/magic_ext_oauth.dart that imports:
  • package:magic_sdk/relayer/url_builder.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_windows.dart that imports:
  • package:package_info_plus/src/file_version_info.dart that imports:
  • package:win32/win32.dart that imports:
  • package:win32/src/com/iwinhttprequest.dart that imports:
  • package:win32/src/com/iunknown.dart that imports:
  • package:win32/src/utils.dart that imports:
  • package:win32/src/win32/user32.g.dart that imports:
  • package:win32/src/variant.dart that imports:
  • package:win32/src/win32/oleaut32.g.dart that imports:
  • package:win32/src/structs.g.dart that imports:
  • package:win32/src/guid.dart that imports:
  • package:win32/src/win32/ole32.g.dart that imports:
  • package:win32/src/combase.dart that imports:
  • package:win32/src/macros.dart that imports:
  • package:win32/src/inline.dart that imports:
  • package:win32/src/win32/uxtheme.g.dart that imports:
  • package:win32/src/callbacks.dart that imports:
  • package:win32/src/types.dart that imports:
  • package:ffi/ffi.dart that imports:
  • package:ffi/src/utf8.dart that imports:
  • dart:ffi

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.

OK
Pass static analysis
50 / 50trigger folding of the section

50/50 points: code has no errors, warnings, lints, or formatting issues

failed
Support up-to-date dependencies
30 / 40trigger folding of the section

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
crypto ^3.0.1 3.0.6 3.0.6
flutter flutter 0.0.0 0.0.0
flutter_web_auth ^0.5.0 0.5.0 0.6.0
json_annotation ^4.5.0 4.9.0 4.9.0
magic_sdk ^6.0.0 6.0.1 6.0.1
package_info_plus ^4.2.0 4.2.0 8.1.2
uri ^1.0.0 1.0.0 1.0.0
Transitive dependencies
Package Constraint Compatible Latest
agent_dart - 1.0.0-dev.32 1.0.0-dev.32
agent_dart_base - 1.0.0-dev.32 1.0.0-dev.32
agent_dart_ffi - 1.0.0-dev.32 1.0.0-dev.32
archive - 3.6.1 4.0.2
args - 2.6.0 2.6.0
async - 2.12.0 2.12.0
bip32 - 2.0.0 2.0.0
bip39 - 1.0.6 1.0.6
blockchain_signer - 0.1.0 0.1.0
boolean_selector - 2.1.2 2.1.2
bs58check - 1.0.2 1.0.2
build_cli_annotations - 2.1.0 2.1.0
cbor - 4.1.0 6.3.3
characters - 1.3.0 1.4.0
collection - 1.19.0 1.19.1
convert - 3.1.2 3.1.2
eip1559 - 0.6.2 0.6.2
eip55 - 1.0.2 1.0.2
ffi - 2.1.3 2.1.3
fixnum - 1.1.1 1.1.1
flutter_rust_bridge - 2.5.0 2.7.0
flutter_web_plugins - 0.0.0 0.0.0
freezed_annotation - 2.4.4 2.4.4
hex - 0.2.0 0.2.0
http - 1.2.2 1.2.2
http_parser - 4.1.1 4.1.1
js - 0.7.1 0.7.1
json_rpc_2 - 3.0.3 3.0.3
matcher - 0.12.17 0.12.17
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
package_info_plus_platform_interface - 2.0.1 3.0.2
path - 1.9.1 1.9.1
plugin_platform_interface - 2.1.8 2.1.8
pointycastle - 3.9.1 3.9.1
protobuf - 3.1.0 3.1.0
quiver - 3.2.2 3.2.2
recase - 4.1.0 4.1.0
sec - 1.1.0 1.1.0
secp256r1 - 0.1.0-dev.8 0.1.0-dev.8
sky_engine - 0.0.0 0.0.0
source_span - 1.10.1 1.10.1
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.3 2.1.3
stream_transform - 2.1.1 2.1.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
test_api - 0.7.4 0.7.4
tuple - 2.0.2 2.0.2
typed_data - 1.4.0 1.4.0
uuid - 3.0.7 4.5.1
validators - 3.0.0 3.0.0
vector_math - 2.1.4 2.1.4
wallet - 0.0.13 0.0.13
web - 1.1.0 1.1.0
web3dart - 2.7.0 2.7.3
webview_flutter - 4.9.0 4.10.0
webview_flutter_android - 3.16.9 4.2.0
webview_flutter_platform_interface - 2.10.0 2.10.0
webview_flutter_wkwebview - 3.16.3 3.16.3
win32 - 5.9.0 5.9.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^0.5.0` on flutter_web_auth does not support the stable version `0.6.0`.

Try running dart pub upgrade --major-versions flutter_web_auth to update the constraint.

The constraint `^4.2.0` on package_info_plus does not support the stable version `5.0.0`.

Try running dart pub upgrade --major-versions package_info_plus 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.

2
likes
120
points
86
downloads

Publisher

verified publishermagic.link

Weekly Downloads

A Magic oauth extension to support Magic social login authentication

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

crypto, flutter, flutter_web_auth, json_annotation, magic_sdk, package_info_plus, uri

More

Packages that depend on magic_ext_oauth