Skip to main content

token_manager_grpc 0.2.0 copy "token_manager_grpc: ^0.2.0" to clipboard
token_manager_grpc: ^0.2.0 copied to clipboard

gRPC interceptor for token injection, refresh, and retry.

140/ 160
pub points
206
downloads

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

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

Passed check 10/10 points: Provide a valid pubspec.yaml

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

8 out of 13 API elements (61.5 %) have documentation comments.

Some symbols that are missing documentation: Getting Started, Migrating from 0.1, token_manager_grpc, token_manager_grpc.GrpcTokenInterceptor.interceptStreaming, token_manager_grpc.GrpcTokenInterceptor.interceptUnary.

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

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:token_manager_grpc/token_manager_grpc.dart that imports:
  • package:token_manager_grpc/src/refresh_interceptor_delegate.dart that imports:
  • package:grpc/grpc.dart that imports:
  • package:grpc/src/shared/streams.dart that imports:
  • package:http2/transport.dart that imports:
  • dart:io
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

Failed report section
Support up-to-date dependencies
20 / 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
async >=2.11.0 <3.0.0 2.13.1 2.13.1
grpc >=3.2.0 <6.0.0 5.2.0 5.2.0
token_manager ^0.2.0 0.2.3 0.2.3
Transitive dependencies
Package Constraint Compatible Latest Notes
clock - 1.1.3 1.1.3
collection - 1.19.1 1.19.1
crypto - 3.0.8 3.0.8
fixnum - 1.1.1 1.1.1
google_cloud - 0.5.0 0.5.0
google_identity_services_web - 0.3.3+1 0.3.3+1
googleapis_auth - 2.3.7 2.3.7
http - 1.6.0 1.6.0
http2 - 2.3.1 3.2.0
http_parser - 4.1.2 4.1.2
meta - 1.19.0 1.19.0
path - 1.9.1 1.9.1
protobuf - 6.1.0 6.1.0
source_span - 1.10.2 1.10.2
stack_trace - 1.12.2 1.12.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
web - 1.1.2 1.1.2

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 1 error:

  • CONST_WITH_NON_CONST - lib/src/call_attempts.dart:98:13 - The constructor being called isn't a const constructor.

Run dart pub downgrade and then dart 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.23.19, Dart 3.14.0.

Check the analysis log for details.

Weekly downloads

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

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

gRPC interceptor for token injection, refresh, and retry.

Repository (GitHub)
View/report issues
Contributing

License

MIT (license)

Dependencies

async, grpc, token_manager

More

Packages that depend on token_manager_grpc