oauth_webauth 5.0.0+1 copy "oauth_webauth: ^5.0.0+1" to clipboard
oauth_webauth: ^5.0.0+1 copied to clipboard

This plugin provides an alternative to AppAuth using WebView for OAuth 2.0 authorization/authentication.

19
likes
90/ 160
pub points
84%
popularity

We analyzed this package 7 hours ago, and awarded it 90 pub points (of a possible 160):

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

10/10 points: Provide a valid pubspec.yaml

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/luis901101/oauth_webauth/issues 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.

OK
Provide documentation
20 / 20trigger folding of the section

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

43 out of 163 API elements (26.4 %) have documentation comments.

Some symbols that are missing documentation: oauth_webauth, oauth_webauth.BaseConfiguration, oauth_webauth.BaseConfiguration.BaseConfiguration, oauth_webauth.BaseConfiguration.backButtonTooltip, oauth_webauth.BaseConfiguration.backButtonTooltipKey.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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:oauth_webauth/oauth_webauth.dart that imports:
  • package:oauth_webauth/src/base_web_view.dart that imports:
  • package:flutter_inappwebview/flutter_inappwebview.dart that declares support for platforms: Android, iOS, macOS, Web.
Package does not support platform `Linux`.

Because:

  • package:oauth_webauth/oauth_webauth.dart that imports:
  • package:oauth_webauth/src/base_web_view.dart that imports:
  • package:flutter_inappwebview/flutter_inappwebview.dart that declares support for platforms: Android, iOS, macOS, Web.
Package not compatible with platform Web

Because:

  • package:oauth_webauth/oauth_webauth.dart that imports:
  • package:oauth_webauth/src/base_web_view.dart that imports:
  • package:flutter_inappwebview/flutter_inappwebview.dart that imports:
  • package:flutter_inappwebview/src/main.dart that imports:
  • package:flutter_inappwebview/src/in_app_localhost_server.dart that imports:
  • package:flutter_inappwebview_platform_interface/flutter_inappwebview_platform_interface.dart that imports:
  • package:flutter_inappwebview_platform_interface/src/main.dart that imports:
  • package:flutter_inappwebview_platform_interface/src/in_app_localhost_server.dart that imports:
  • dart:io
failed
Pass static analysis
0 / 50trigger folding of the section

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

ERROR: The named parameter 'size' isn't defined.

lib/src/utils/widget_utils.dart:49:9

   ╷
49 │         size: logicalSize,
   │         ^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/utils/widget_utils.dart

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

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

Package Constraint Compatible Latest
flutter flutter 0.0.0 0.0.0
flutter_inappwebview ^6.0.0 6.0.0 6.0.0
flutter_web_plugins flutter 0.0.0 0.0.0
http >=0.13.0 <2.0.0 1.2.2 1.2.2
oauth2 ^2.0.0 2.0.2 2.0.2
shared_preferences ^2.0.0 2.2.3 2.2.3
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
characters - 1.3.0 1.3.0
collection - 1.18.0 1.19.0
crypto - 3.0.3 3.0.3
ffi - 2.1.2 2.1.2
file - 7.0.0 7.0.0
flutter_inappwebview_android - 1.0.13 1.0.13
flutter_inappwebview_internal_annotations - 1.1.1 1.1.1
flutter_inappwebview_ios - 1.0.13 1.0.13
flutter_inappwebview_macos - 1.0.11 1.0.11
flutter_inappwebview_platform_interface - 1.0.10 1.0.10
flutter_inappwebview_web - 1.0.8 1.0.8
http_parser - 4.0.2 4.1.0
js - 0.6.7 0.7.1
material_color_utilities - 0.8.0 0.12.0
meta - 1.12.0 1.15.0
path - 1.9.0 1.9.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.5 3.1.5
plugin_platform_interface - 2.1.8 2.1.8
shared_preferences_android - 2.2.4 2.2.4
shared_preferences_foundation - 2.4.0 2.4.0
shared_preferences_linux - 2.3.2 2.3.2
shared_preferences_platform_interface - 2.4.0 2.4.0
shared_preferences_web - 2.2.1 2.3.0
shared_preferences_windows - 2.3.2 2.3.2
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
string_scanner - 1.3.0 1.3.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
vector_math - 2.1.4 2.1.4
web - 1.0.0 1.0.0
xdg_directories - 1.0.4 1.0.4

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

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 1 error:

  • UNDEFINED_NAMED_PARAMETER - lib/src/utils/widget_utils.dart:49:9 - The named parameter 'size' isn't defined.

Run flutter pub downgrade and then flutter 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.22.9, Flutter 3.22.2, Dart 3.4.3.

Check the analysis log for details.

19
likes
90
pub points
84%
popularity

Publisher

unverified uploader

This plugin provides an alternative to AppAuth using WebView for OAuth 2.0 authorization/authentication.

Repository (GitHub)
View/report issues

Topics

#oauth #oauth2 #login #social-login

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, flutter_inappwebview, flutter_web_plugins, http, oauth2, shared_preferences

More

Packages that depend on oauth_webauth