Permalink
Browse files

Fixed documentation

  • Loading branch information...
1 parent 829bfa9 commit 804a7cd4f6f291dc5c46af03d9419bc120a79d39 @pelle pelle committed Jul 12, 2009
Showing with 8 additions and 2 deletions.
  1. +8 −2 README.rdoc
View
10 README.rdoc
@@ -10,7 +10,9 @@ and the OAuth site at:
http://oauth.net
-For more about the changes made to OAuth1.0a please see <a href="http://mojodna.net/2009/05/20/an-idiots-guide-to-oauth-10a.html">Seth's Idiot's Guide to OAuth 1.0a</a>.
+For more about the changes made to OAuth1.0a please see Seth's Idiot's Guide to OAuth 1.0a.
+
+http://mojodna.net/2009/05/20/an-idiots-guide-to-oauth-10a.html
== Requirements
@@ -117,7 +119,9 @@ Then change the create_request_token method to the following:
=== Changes in request_token.rb
-We need to add support for the oauth_verifier parameter. Make sure it looks like this:
+The RequestToken contains the bulk of the changes so it's easiest to list it in it's entirety. Mainly we need to add support for the oauth_verifier parameter and also tell the client that we support OAuth 1.0a.
+
+Make sure it looks like this:
class RequestToken < OauthToken
@@ -174,6 +178,8 @@ All you need to do here is the change the authorize action to use the request_to
end
end
+The rest of the changes are in the plugin and will be automatically be included.
+
*Note* OAuth 1.0a removes support for callback url's passed to the authorize page, clients must either define a callback url in their client application or pass one on the token request page.
== Protecting your actions

0 comments on commit 804a7cd

Please sign in to comment.