Skip to content
OAuth 2.0 Server & Client Library. Both Bearer and MAC token type are supported.
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib/rack
spec
.document
.gitignore
.rspec
Gemfile
LICENSE
README.rdoc
Rakefile
VERSION
rack-oauth2.gemspec

README.rdoc

rack-oauth2

Rack Middleware for OAuth2. Currently support only Server/Provider, not Client/Consumer.

This gem is based on OAuth 2.0 draft v.10 tools.ietf.org/html/draft-ietf-oauth-v2-10

Installation

gem install rack-oauth2

Resources

Usage

Rails

Resource Owner Authorization & Token Endpoint

gist.github.com/584594

Protected Resource Middleware Setting

gist.github.com/584565

Sinatra

Resource Owner Authorization Endpoint

gist.github.com/584595

Token Endpoint

gist.github.com/584574

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.