From: Zach Copley Date: Wed, 11 Nov 2009 01:10:56 +0000 (-0800) Subject: Add new OAuth application tables and DataObjects. Also add a new X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=14bcac31b87e05d176235111a8ad316927317118;p=quix0rs-gnu-social.git Add new OAuth application tables and DataObjects. Also add a new column for consumer secret to consumer table. --- diff --git a/classes/Consumer.php b/classes/Consumer.php index d5b7b7e33a..d17f183a88 100644 --- a/classes/Consumer.php +++ b/classes/Consumer.php @@ -11,9 +11,10 @@ class Consumer extends Memcached_DataObject public $__table = 'consumer'; // table name public $consumer_key; // varchar(255) primary_key not_null + public $consumer_secret; // varchar(255) not_null public $seed; // char(32) not_null - public $created; // datetime() not_null - public $modified; // timestamp() not_null default_CURRENT_TIMESTAMP + public $created; // datetime not_null + public $modified; // timestamp not_null default_CURRENT_TIMESTAMP /* Static get */ function staticGet($k,$v=null) diff --git a/classes/Oauth_application.php b/classes/Oauth_application.php new file mode 100755 index 0000000000..6ad2db6dde --- /dev/null +++ b/classes/Oauth_application.php @@ -0,0 +1,33 @@ +