No release in over 3 years
OAuth 2.0 Server & Client Library. Both Bearer and MAC token type are supported.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 1.2.0
>= 0.8
>= 2
>= 1.6.2

Runtime

>= 2.2.0.2
>= 1.3.6
>= 1.1
 Project Readme

rack-oauth2¶ ↑

OAuth 2.0 Server & Client Library. Both Bearer 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

Installation¶ ↑

gem install rack-oauth2

Resources¶ ↑

Sample Server Application (Rails3)¶ ↑

Bearer¶ ↑

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

Sample Client¶ ↑

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

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

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 © 2010 nov matake. See LICENSE for details.