shelf_oauth_memcache 0.3.7

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 14

shelf_oauth_memcache

Build Status Pub Version

Memcache (appengine flavour) oauth token persistence

Usage

TODO...

Features and bugs

Please file feature requests and bugs at the issue tracker.

Changelog

0.3.6

  • upgrade shelf_oauth

0.3.4

  • upgrade shelf_oauth

0.3.0

  • upgrade shelf, test and shelf_oauth

0.2.1+1

  • fixed bug where memcache entry can be deleted before it is returned in some cases

0.2.1

  • broadened self_oauth versions

0.2.0

  • corrected name of oauthStorage function

0.1.0

  • oauth2 storage

0.0.1

  • Initial version, created by Stagehand.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  shelf_oauth_memcache: ^0.3.7

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter packages get

Alternatively, your editor might support pub get or flutter packages get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:shelf_oauth_memcache/shelf_oauth_memcache.dart';
  
Version Uploaded Documentation Archive
0.3.7 Apr 10, 2016 Go to the documentation of shelf_oauth_memcache 0.3.7 Download shelf_oauth_memcache 0.3.7 archive
0.3.6 Jan 6, 2016 Go to the documentation of shelf_oauth_memcache 0.3.6 Download shelf_oauth_memcache 0.3.6 archive
0.3.5 Aug 12, 2015 Go to the documentation of shelf_oauth_memcache 0.3.5 Download shelf_oauth_memcache 0.3.5 archive
0.3.4 Jul 1, 2015 Go to the documentation of shelf_oauth_memcache 0.3.4 Download shelf_oauth_memcache 0.3.4 archive
0.3.3 Jun 25, 2015 Go to the documentation of shelf_oauth_memcache 0.3.3 Download shelf_oauth_memcache 0.3.3 archive
0.3.2 Jun 25, 2015 Go to the documentation of shelf_oauth_memcache 0.3.2 Download shelf_oauth_memcache 0.3.2 archive
0.3.1 Jun 25, 2015 Go to the documentation of shelf_oauth_memcache 0.3.1 Download shelf_oauth_memcache 0.3.1 archive
0.3.0 Jun 23, 2015 Go to the documentation of shelf_oauth_memcache 0.3.0 Download shelf_oauth_memcache 0.3.0 archive
0.2.1+1 Mar 14, 2015 Go to the documentation of shelf_oauth_memcache 0.2.1+1 Download shelf_oauth_memcache 0.2.1+1 archive
0.2.1 Mar 1, 2015 Go to the documentation of shelf_oauth_memcache 0.2.1 Download shelf_oauth_memcache 0.2.1 archive

All 16 versions...

Popularity:
Describes how popular the package is relative to other packages. [more]
3
Health:
Code health derived from static analysis. [more]
41
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
0
Overall:
Weighted score of the above. [more]
14
Learn more about scoring.

We analyzed this package on Jul 20, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.0.0-dev.69.0
  • pana: 0.11.7

Platforms

Detected platforms: Flutter, other

Primary library: package:shelf_oauth_memcache/shelf_oauth_memcache.dart with components: io, isolate.

Issues and suggestions

Fix lib/src/oauth2_token_store_impl.dart.

Analysis of lib/src/oauth2_token_store_impl.dart failed with 2 errors, 3 hints:

line 22 col 42: The argument type '(DateTime) → Null' can't be assigned to the parameter type '(dynamic) → dynamic'.

line 33 col 11: The return type 'Option' isn't a 'FutureOr<Option<OAuth2TokenPair>>', as defined by anonymous closure.

line 23 col 13: The value of the local variable 'tokenExpiration' isn't used.

line 26 col 39: 'JSON' is deprecated and shouldn't be used.

line 34 col 59: 'JSON' is deprecated and shouldn't be used.

Fix lib/src/oauth2_csrf_state_store_impl.dart.

Analysis of lib/src/oauth2_csrf_state_store_impl.dart failed with 1 error, 2 hints:

line 27 col 11: The return type 'Option' isn't a 'FutureOr<Option<OAuth2State>>', as defined by anonymous closure.

line 22 col 28: 'JSON' is deprecated and shouldn't be used.

line 27 col 57: 'JSON' is deprecated and shouldn't be used.

Support Dart 2 in pubspec.yaml.

The SDK constraint in pubspec.yaml doesn't allow the Dart 2.0.0 release. For information about upgrading it to be Dart 2 compatible, please see https://www.dartlang.org/dart-2#migration.

Package is too old.

The package was released more than two years ago.

The description is too short.

Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.

Package is pre-v1 release.

While there is nothing inherently wrong with versions of 0.*.*, it usually means that the author is still experimenting with the general direction of the API.

Maintain an example.

Create a short demo in the example/ directory to show how to use this package. Common file name patterns include: main.dart, example.dart or you could also use shelf_oauth_memcache.dart.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.8.0 <2.0.0
args >=0.13.4 <0.14.0 0.13.7 1.4.4
memcache ^0.2.0 0.2.2 0.3.0
shelf >=0.6.0 <0.7.0 0.6.8 0.7.3+3
shelf_oauth ^0.8.2 0.8.2
Transitive dependencies
async 1.13.3 2.0.8
bignum 0.0.7 0.1.0
charcode 1.1.2
cipher 0.7.1
collection 1.14.11
concepts 0.2.0
convert 1.1.1 2.0.2
crypto 0.9.2+1 2.0.6
dart2_constant 1.0.1+dart2
either 0.1.8
fixnum 0.9.1+2 0.10.8
http 0.11.3+17
http_exception 0.1.0
http_parser 3.1.3
logging 0.11.3+2
matcher 0.12.4
meta 1.1.6
oauth 0.3.0 0.4.0
option 1.2.0
path 1.6.2
quiver 0.29.0+2 2.0.0+1
source_span 1.4.1
stack_trace 1.9.3
stream_channel 1.6.8
string_scanner 1.0.3
typed_data 1.1.6
uri 0.11.3
utf 0.9.0+5
uuid 0.5.1 1.0.1
Dev dependencies
test ^0.12.0