token_manager_grpc 0.2.1
token_manager_grpc: ^0.2.1 copied to clipboard
Single-flight OAuth/JWT refresh for gRPC: an interceptor that attaches the access token, refreshes once on UNAUTHENTICATED and replays the call.
We analyzed this package 5 days ago, and awarded it 140 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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: MIT.
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.
10/10 points: Package has an example
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.dartthat imports:package:token_manager_grpc/src/refresh_interceptor_delegate.dartthat imports:package:grpc/grpc.dartthat imports:package:grpc/src/shared/streams.dartthat imports:package:http2/transport.dartthat imports:dart:io
50/50 points: code has no errors, warnings, lints, or formatting issues
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.
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:
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.