summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2010-01-11 12:17:36 -0800
committerZach Copley <zach@status.net>2010-01-14 02:41:06 +0000
commitbfe3e3c74e70c50f8f8358299960dbd3aebd482f (patch)
tree65cd3bb58bb838aa80f07a50d00e3009bf81e341
parentd8abad747823e4bc9fa4f43efbc0715b146b61eb (diff)
Decided we didn't need to keep the token secret in the
Oauth_application_user record
-rw-r--r--classes/Oauth_application_user.php1
-rw-r--r--classes/statusnet.ini1
-rw-r--r--db/statusnet.sql3
3 files changed, 1 insertions, 4 deletions
diff --git a/classes/Oauth_application_user.php b/classes/Oauth_application_user.php
index e4c018f21..a05371f56 100644
--- a/classes/Oauth_application_user.php
+++ b/classes/Oauth_application_user.php
@@ -14,7 +14,6 @@ class Oauth_application_user extends Memcached_DataObject
public $application_id; // int(4) primary_key not_null
public $access_type; // tinyint(1)
public $token; // varchar(255)
- public $secret; // varchar(255)
public $verifier; // varchar(255)
public $created; // datetime not_null
public $modified; // timestamp not_null default_CURRENT_TIMESTAMP
diff --git a/classes/statusnet.ini b/classes/statusnet.ini
index c1144b3fd..7a0f4dede 100644
--- a/classes/statusnet.ini
+++ b/classes/statusnet.ini
@@ -373,7 +373,6 @@ profile_id = 129
application_id = 129
access_type = 17
token = 2
-secret = 2
verifier = 2
created = 142
modified = 384
diff --git a/db/statusnet.sql b/db/statusnet.sql
index f9f8e9a87..b50f125db 100644
--- a/db/statusnet.sql
+++ b/db/statusnet.sql
@@ -229,8 +229,7 @@ create table oauth_application_user (
profile_id integer not null comment 'user of the application' references profile (id),
application_id integer not null comment 'id of the application' references oauth_application (id),
access_type tinyint default 0 comment 'access type, bit 1 = read, bit 2 = write, bit 3 = revoked',
- token varchar(255) comment 'authorization token',
- secret varchar(255) comment 'token secret',
+ token varchar(255) comment 'request or access token',
verifier varchar(255) not null comment 'verification code',
created datetime not null comment 'date this record was created',
modified timestamp comment 'date this record was modified',