Skip to content
This repository

OAuth 2.0 Server & Client Library. Both Bearer and MAC token type are supported.

v1.0.8

latest commit 06bec89881
Nov Matake authored April 17, 2014
Octocat-spinner-32 lib load all activesupport for now April 17, 2014
Octocat-spinner-32 spec cover_me -> simplecov February 06, 2014
Octocat-spinner-32 .document Initial commit to rack-oauth2. September 09, 2010
Octocat-spinner-32 .gitignore v1.0.2 February 17, 2013
Octocat-spinner-32 .rspec goodbye jweler November 04, 2010
Octocat-spinner-32 .travis.yml no 1.9.2 June 28, 2013
Octocat-spinner-32 Gemfile bundle jruby-openssl for JRuby July 19, 2011
Octocat-spinner-32 LICENSE no reason to specify rack version here December 04, 2010
Octocat-spinner-32 README.rdoc no pledgie April 02, 2013
Octocat-spinner-32 Rakefile cover_me -> simplecov February 06, 2014
Octocat-spinner-32 VERSION v1.0.8 April 17, 2014
Octocat-spinner-32 rack-oauth2.gemspec cover_me -> simplecov February 06, 2014
README.rdoc

rack-oauth2

OAuth 2.0 Server & Client Library. Both Bearer and MAC token type are supported.

The OAuth 2.0 Authorization Framework (RFC 6749) www.rfc-editor.org/rfc/rfc6749.txt

The OAuth 2.0 Authorization Framework: Bearer Token Usage (RFC 6750) tools.ietf.org/html/draft-ietf-oauth-v2-bearer-06

HTTP Authentication: MAC Access Authentication (draft 01) tools.ietf.org/html/draft-ietf-oauth-v2-http-mac-01

Installation

gem install rack-oauth2

Resources

Sample Server Application (Rails3)

Bearer

Running on Heroku rack-oauth2-sample.heroku.com

Source on GitHub github.com/nov/rack-oauth2-sample

MAC

Running on Heroku rack-oauth2-sample-mac.heroku.com

Source on GitHub github.com/nov/rack-oauth2-sample-mac

Sample Client

Common between Bearer and MAC

Authorization Request (request_type: 'code' and 'token') gist.github.com/862393

Token Request (grant_type: 'client_credentials', 'password', 'authorization_code' and 'refresh_token') gist.github.com/883541

Bearer

Resource Request (request both for resource owner resource and for client resource) gist.github.com/883575

MAC

Resource Request (request both for resource owner resource and for client resource) gist.github.com/933885

Note on Patches/Pull Requests

  • Fork the project.

  • Make your feature addition or bug fix.

  • Add tests for it. This is important so I don't break it in a future version unintentionally.

  • Commit, do not mess with rakefile, version, or history. (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)

  • Send me a pull request. Bonus points for topic branches.

Copyright

Copyright © 2010 nov matake. See LICENSE for details.

Something went wrong with that request. Please try again.