ustb_sso 1.1.0 copy "ustb_sso: ^1.1.0" to clipboard
ustb_sso: ^1.1.0 copied to clipboard

USTB Single Sign-On Authentication Library (Dart)

140/ 160
pub points
2
downloads

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

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

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

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 50 to 180 characters to describe the package, what it does, and its target use case.

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

Links in `README.md` should be secure. 1 link is insecure.

README.md:34:26

   ╷
34 │ <p>以下代码演示了如何通过通过微信扫码登录来获取<a href="http://chat.ustb.edu.cn">北科大 AI 助手</a>(2025 年版)的令牌 Cookie。</p>
   │                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

Use https URLs instead.

`README.md` contains too many non-ASCII characters.

The site uses English as its primary language. The content of README.md in your package should primarily contain characters used in English.

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

`CHANGELOG.md` contains too many non-ASCII characters.

The site uses English as its primary language. The content of CHANGELOG.md in your package should primarily contain characters used in English.

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

Detected license: MIT.

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

50 out of 123 API elements (40.7 %) have documentation comments.

Some symbols that are missing documentation: ustb_sso.APIError.APIError.new, ustb_sso.ApplicationParam.ApplicationParam.new, ustb_sso.ApplicationParam.entityId, ustb_sso.ApplicationParam.redirectUri, ustb_sso.ApplicationParam.state.

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

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
http ^1.2.2 1.6.0 1.6.0
image ^4.2.0 4.7.2 4.7.2
Transitive dependencies
Package Constraint Compatible Latest Notes
archive - 4.0.7 4.0.7
async - 2.13.0 2.13.0
collection - 1.19.1 1.19.1
crypto - 3.0.7 3.0.7
ffi - 2.1.5 2.1.5
http_parser - 4.1.2 4.1.2
meta - 1.17.0 1.17.0
path - 1.9.1 1.9.1
petitparser - 7.0.1 7.0.1
posix - 6.0.3 6.0.3
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
web - 1.1.1 1.1.1
xml - 6.6.1 6.6.1

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.23.5, Dart 3.10.7.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
140
points
2
downloads

Publisher

verified publisherharryh.cn

Weekly Downloads

USTB Single Sign-On Authentication Library (Dart)

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

http, image

More

Packages that depend on ustb_sso