oauth2_client_extended 1.0.6 copy "oauth2_client_extended: ^1.0.6" to clipboard
oauth2_client_extended: ^1.0.6 copied to clipboard

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

115/ 160
pub points
22
downloads

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

Failed report section
Follow Dart file conventions
15 / 30trigger folding of the section

Failed check 0/10 points: Provide a valid pubspec.yaml

Failed to verify repository URL.

Repository has no matching pubspec.yaml with name: oauth2_client_extended.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: oauth2_client_extended,
    • contains a version property, and,
    • does not contain a publish_to property.

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

Failed check 0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` does not contain reference to the current version ("1.0.6").

Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.

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

46 out of 157 API elements (29.3 %) 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 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ macOS

  • ✓ Web

These platforms are not supported:

Package does not support platform `Linux`.

Because:

  • package:oauth2_client_extended/facebook_oauth2_client.dart that imports:
  • package:oauth2_client_extended/oauth2_client.dart that imports:
  • package:oauth2_client_extended/src/io_web_auth.dart that imports:
  • package:flutter_web_auth_2/flutter_web_auth_2.dart that declares support for platforms: Android, iOS, Windows, macOS, Web.

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.

Failed report section
Pass static analysis
30 / 50trigger folding of the section

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

Found 14 issues. Showing the first 2:

WARNING: The '!' will have no effect because the receiver can't be null.

lib/oauth2_client.dart:85:31

   ╷
85 │       'provider': providerName!,
   │                               ^
   ╵

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

WARNING: The '!' will have no effect because the receiver can't be null.

lib/oauth2_client.dart:86:42

   ╷
86 │       'access_token': providerAccessToken!
   │                                          ^
   ╵

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

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

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

Package Constraint Compatible Latest Notes
crypto ^3.0.1 3.0.7 3.0.7
flutter_secure_storage ^6.0.0 6.1.0 10.0.0
flutter_web_auth_2 ^1.1.2 1.1.2 5.0.1
http ^0.13.4 0.13.6 1.6.0
meta ^1.7.0 1.17.0 1.18.1
random_string ^2.3.1 2.3.1 2.3.1
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
ffi - 2.2.0 2.2.0
flutter_secure_storage_linux - 1.2.3 3.0.0
flutter_secure_storage_macos - 1.1.2 4.0.0
flutter_secure_storage_platform_interface - 1.1.2 2.0.1
flutter_secure_storage_web - 1.2.1 2.1.0
flutter_secure_storage_windows - 1.1.3 4.1.0
flutter_web_auth_2_platform_interface - 1.1.2 5.0.0
flutter_web_auth_2_windows - 1.1.2 1.1.2 Discontinued
http_parser - 4.1.2 4.1.2
js - 0.6.7 0.7.2 Discontinued
material_color_utilities - 0.11.1 0.13.0
path - 1.9.1 1.9.1
plugin_platform_interface - 2.1.8 2.1.8
source_span - 1.10.2 1.10.2
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.2 6.3.2
url_launcher_android - 6.3.28 6.3.28
url_launcher_ios - 6.4.1 6.4.1
url_launcher_linux - 3.2.2 3.2.2
url_launcher_macos - 3.2.5 3.2.5
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.4.2 2.4.2
url_launcher_windows - 3.1.5 3.1.5
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.1
win32 - 3.1.4 5.15.0

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

Found 3 issues. Showing the first 2:

The constraint `^6.0.0` on flutter_secure_storage does not support the stable version `7.0.0`.

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

The constraint `^1.1.2` on flutter_web_auth_2 does not support the stable version `2.0.0`.

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

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.23.9, Flutter 3.38.9, Dart 3.10.8.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
115
points
22
downloads

Publisher

unverified uploader

Weekly Downloads

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

Documentation

API reference

License

BSD-2-Clause (license)

Dependencies

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

More

Packages that depend on oauth2_client_extended