Permalink
Browse files

Added OAuth RFC comments to OAuth_Request_Token, OAuth_Request_Author…

…ize, OAuth_Request_Resource
  • Loading branch information...
1 parent 757d744 commit 381ca1cddf8d8d8103cacdaeabf9846ffa591bde @shadowhand shadowhand committed Jun 27, 2010
Showing with 3 additions and 0 deletions.
  1. +1 −0 classes/oauth/request/authorize.php
  2. +1 −0 classes/oauth/request/resource.php
  3. +1 −0 classes/oauth/request/token.php
@@ -12,6 +12,7 @@ class OAuth_Request_Authorize extends OAuth_Request{
protected $name = 'request';
+ // http://oauth.net/core/1.0/#rfc.section.6.2.1
protected $required = array(
'oauth_token' => TRUE,
);
@@ -12,6 +12,7 @@ class OAuth_Request_Resource extends OAuth_Request{
protected $name = 'resource';
+ // http://oauth.net/core/1.0/#rfc.section.7
protected $required = array(
'oauth_consumer_key' => TRUE,
'oauth_token' => TRUE,
@@ -12,6 +12,7 @@ class OAuth_Request_Token extends OAuth_Request {
protected $name = 'request';
+ // http://oauth.net/core/1.0/#rfc.section.6.3.1
protected $required = array(
'oauth_callback' => TRUE,
'oauth_consumer_key' => TRUE,

0 comments on commit 381ca1c

Please sign in to comment.