README.rdoc in rack-oauth2-0.6.3 vs README.rdoc in rack-oauth2-0.6.4
- old
+ new
@@ -4,12 +4,12 @@
Both Bearer and MAC token type are supported.
The OAuth 2.0 Authorization Protocol (draft 15)
http://tools.ietf.org/html/draft-ietf-oauth-v2-15
-The OAuth 2.0 Protocol: Bearer Tokens (draft 03)
-http://tools.ietf.org/html/draft-ietf-oauth-v2-bearer-03
+The OAuth 2.0 Protocol: Bearer Tokens (draft 04)
+http://tools.ietf.org/html/draft-ietf-oauth-v2-bearer-04
HTTP Authentication: MAC Authentication (draft 02)
http://tools.ietf.org/html/draft-hammer-oauth-v2-mac-token-02
== Installation
@@ -40,23 +40,26 @@
Source on GitHub
http://github.com/nov/rack-oauth2-sample-mac
== Sample Client
-=== Bearer
+=== Common between Bearer and MAC
Authorization Request (request_type: 'code' and 'token')
https://gist.github.com/862393
Token Request (grant_type: 'client_credentials', 'password', 'authorization_code' and 'refresh_token')
https://gist.github.com/883541
+=== Bearer
+
Resource Request (request both for resource owner resource and for client resource)
https://gist.github.com/883575
=== MAC
-Coming soon..
+Resource Request (request both for resource owner resource and for client resource)
+https://gist.github.com/933885
== Note on Patches/Pull Requests
* Fork the project.
* Make your feature addition or bug fix.