oauth2_client 4.1.0 copy "oauth2_client: ^4.1.0" to clipboard
oauth2_client: ^4.1.0 copied to clipboard

Flutter library for interacting with OAuth2 servers, with classes for transparent authorized requests, secure token storage, automatic token refreshing.

185
likes
160/ 160
pub points
40.5k
downloads

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

Partially passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/ThexXTURBOXx/oauth2_client/issues was unreachable. Make sure that the website is reachable via HEAD requests.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: BSD-2-Clause.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

47 out of 161 API elements (29.2 %) have documentation comments.

Some symbols that are missing documentation: access_token_response, access_token_response.AccessTokenResponse.AccessTokenResponse.errorResponse, access_token_response.AccessTokenResponse.AccessTokenResponse.fromHttpResponse, access_token_response.AccessTokenResponse.AccessTokenResponse.fromMap, access_token_response.AccessTokenResponse.AccessTokenResponse.new.

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Android`.

Because:

  • package:oauth2_client/oauth2_client.dart that imports:
  • package:oauth2_client/src/io_web_auth.dart that imports:
  • package:flutter_web_auth_2/flutter_web_auth_2.dart that imports:
  • package:flutter_web_auth_2/src/linows.dart that imports:
  • package:flutter_web_auth_2/src/webview.dart that imports:
  • package:desktop_webview_window/desktop_webview_window.dart that declares support for platforms: Windows, Linux, macOS.
Package does not support platform `iOS`.

Because:

  • package:oauth2_client/oauth2_client.dart that imports:
  • package:oauth2_client/src/io_web_auth.dart that imports:
  • package:flutter_web_auth_2/flutter_web_auth_2.dart that imports:
  • package:flutter_web_auth_2/src/linows.dart that imports:
  • package:flutter_web_auth_2/src/webview.dart that imports:
  • package:desktop_webview_window/desktop_webview_window.dart that declares support for platforms: Windows, Linux, macOS.

Passed check 0/0 points: WASM compatibility

This package is compatible with runtime wasm, and will be rewarded additional points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

Passed report section
Pass static analysis
50 / 50trigger folding of the section

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

Passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
crypto ^3.0.3 3.0.6 3.0.6
flutter_secure_storage ^10.0.0-beta.4 10.0.0-beta.4 10.0.0-beta.4
flutter_web_auth_2 ^5.0.0-alpha.0 5.0.0-alpha.1 5.0.0-alpha.1
http ^1.1.0 1.3.0 1.3.0
meta ^1.12.0 1.16.0 1.16.0
random_string ^2.3.1 2.3.1 2.3.1
web ^1.1.0 1.1.1 1.1.1
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.0
collection - 1.19.1 1.19.1
desktop_webview_window - 0.2.3 0.2.3
ffi - 2.1.4 2.1.4
flutter_secure_storage_darwin - 0.1.0 0.1.0
flutter_secure_storage_linux - 2.0.1 2.0.1
flutter_secure_storage_platform_interface - 2.0.1 2.0.1
flutter_secure_storage_web - 2.0.0 2.0.0
flutter_secure_storage_windows - 4.0.0 4.0.0
flutter_web_auth_2_platform_interface - 5.0.0-alpha.0 5.0.0-alpha.0
http_parser - 4.1.2 4.1.2
material_color_utilities - 0.11.1 0.12.0
path - 1.9.1 1.9.1
path_provider - 2.1.5 2.1.5
path_provider_android - 2.2.16 2.2.16
path_provider_foundation - 2.4.1 2.4.1
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.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
url_launcher - 6.3.1 6.3.1
url_launcher_android - 6.3.15 6.3.15
url_launcher_ios - 6.3.2 6.3.2
url_launcher_linux - 3.2.1 3.2.1
url_launcher_macos - 3.2.2 3.2.2
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.4.0 2.4.0
url_launcher_windows - 3.1.4 3.1.4
vector_math - 2.1.4 2.1.4
win32 - 5.12.0 5.12.0
window_to_front - 0.0.3 0.0.3
xdg_directories - 1.1.0 1.1.0

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

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.20, Flutter 3.29.2, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
185
likes
160
points
40.5k
downloads

Publisher

verified publisherfemtopedia.de

Weekly Downloads

Flutter library for interacting with OAuth2 servers, with classes for transparent authorized requests, secure token storage, automatic token refreshing.

Repository (GitHub)
View/report issues

Topics

#authentication #network #oauth #web

Documentation

API reference

Funding

Consider supporting this project:

github.com

License

BSD-2-Clause (license)

Dependencies

crypto, flutter, flutter_secure_storage, flutter_web_auth_2, http, meta, random_string, web

More

Packages that depend on oauth2_client