shelf_oauth 0.6.1

  • README.md
  • CHANGELOG.md
  • Example
  • Installing
  • Versions
  • --

shelf_oauth #

Build Status Pub Version

Provides Shelf Handlers to do the OAuth dance. Supports OAuth1 and OAuth2

Usage #

TODO...

Features and bugs #

Please file feature requests and bugs at the issue tracker.

Changelog #

0.6.0 #

  • shelf 0.6.0
  • OAuth2ProviderHandlers take factories for ClientId and OAuth2Provider
  • upgrade uri and test packages

0.5.0 #

  • Now uses http_exception package rather than shelf_exception_response

0.4.0 #

  • make accessType a parameter. Note: default is now 'online' whereas previously it was 'offline'

0.3.1 #

  • added OAuthStorage for conveniently grouping all oauth related storage

0.3.0 #

  • storing tokens in oauth 2 now optional
  • fixed handling of content-type
  • store context for oauth2

0.2.0 #

  • Slightly more robust handling of content-type

0.1.0 #

  • Added oauth2

0.0.2 #

  • some validation

0.0.1 #

  • Initial version, created by Stagehand.

example/shelf_oauth.dart

// Copyright (c) 2014, <your name>. All rights reserved. Use of this source code
// is governed by a BSD-style license that can be found in the LICENSE file.

library shelf_oauth.example;

main() {}

Use this package as a library

1. Depend on it

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


dependencies:
  shelf_oauth: ^0.6.1

2. Install it

You can install packages from the command line:

with pub:


$ pub get

Alternatively, your editor might support pub 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/shelf_oauth.dart';
  
Version Uploaded Documentation Archive
0.8.2 Apr 10, 2016 Go to the documentation of shelf_oauth 0.8.2 Download shelf_oauth 0.8.2 archive
0.8.1 Jan 6, 2016 Go to the documentation of shelf_oauth 0.8.1 Download shelf_oauth 0.8.1 archive
0.8.0 Aug 12, 2015 Go to the documentation of shelf_oauth 0.8.0 Download shelf_oauth 0.8.0 archive
0.7.0 Jul 1, 2015 Go to the documentation of shelf_oauth 0.7.0 Download shelf_oauth 0.7.0 archive
0.6.4 Jun 25, 2015 Go to the documentation of shelf_oauth 0.6.4 Download shelf_oauth 0.6.4 archive
0.6.3 Jun 25, 2015 Go to the documentation of shelf_oauth 0.6.3 Download shelf_oauth 0.6.3 archive
0.6.2 Jun 25, 2015 Go to the documentation of shelf_oauth 0.6.2 Download shelf_oauth 0.6.2 archive
0.6.1 Jun 23, 2015 Go to the documentation of shelf_oauth 0.6.1 Download shelf_oauth 0.6.1 archive
0.6.0 Jun 18, 2015 Go to the documentation of shelf_oauth 0.6.0 Download shelf_oauth 0.6.0 archive
0.5.0 Apr 1, 2015 Go to the documentation of shelf_oauth 0.5.0 Download shelf_oauth 0.5.0 archive

All 18 versions...

Awaiting analysis to complete.