shindig-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chab...@apache.org
Subject svn commit: r795970 - /incubator/shindig/trunk/php/src/gadgets/oauth/OAuthStore.php
Date Mon, 20 Jul 2009 19:32:04 GMT
Author: chabotc
Date: Mon Jul 20 19:32:03 2009
New Revision: 795970

URL: http://svn.apache.org/viewvc?rev=795970&view=rev
Log:
SHINDIG-1113 by Eiji Kitamura - re-align auth-header, uri-query and post-body with spec

Modified:
    incubator/shindig/trunk/php/src/gadgets/oauth/OAuthStore.php

Modified: incubator/shindig/trunk/php/src/gadgets/oauth/OAuthStore.php
URL: http://svn.apache.org/viewvc/incubator/shindig/trunk/php/src/gadgets/oauth/OAuthStore.php?rev=795970&r1=795969&r2=795970&view=diff
==============================================================================
--- incubator/shindig/trunk/php/src/gadgets/oauth/OAuthStore.php (original)
+++ incubator/shindig/trunk/php/src/gadgets/oauth/OAuthStore.php Mon Jul 20 19:32:03 2009
@@ -53,11 +53,11 @@
 
 class OAuthStoreVars {
   public static $HttpMethod = array('GET' => 'GET', 'POST' => 'POST');
-  public static $SignatureType = array('HMAC_SHA1' => 'HMAC_SHA1', 'RSA_SHA1' => 'RSA_SHA1',

+  public static $SignatureType = array('HMAC_SHA1' => 'HMAC_SHA1', 'RSA_SHA1' => 'RSA_SHA1',
       'PLAINTEXT' => 'PLAINTEXT');
   public static $KeyType = array('HMAC_SYMMETRIC' => 'HMAC_SYMMETRIC', 'RSA_PRIVATE' =>
'RSA_PRIVATE');
-  public static $OAuthParamLocation = array('AUTH_HEADER' => 'auth_header', 'POST_BODY'
=> 'post_body', 
-      'URI_QUERY' => 'uri_query');
+  public static $OAuthParamLocation = array('AUTH_HEADER' => 'auth-header', 'POST_BODY'
=> 'post-body',-
+      'URI_QUERY' => 'uri-query');
 }
 
 class AccesorInfo {
@@ -155,7 +155,7 @@
   private $httpMethod;
   private $signatureType;
   private $paramLocation;
-  
+
   // this can be null if we have not negotiated a consumer key and secret
   // yet with the provider, or if we decided that we want to use a global
   // public key



Mime
View raw message