Decided we didn't need to keep the token secret in the
Oauth_application_user record
This commit is contained in:
parent
d8abad7478
commit
bfe3e3c74e
@ -14,7 +14,6 @@ class Oauth_application_user extends Memcached_DataObject
|
|||||||
public $application_id; // int(4) primary_key not_null
|
public $application_id; // int(4) primary_key not_null
|
||||||
public $access_type; // tinyint(1)
|
public $access_type; // tinyint(1)
|
||||||
public $token; // varchar(255)
|
public $token; // varchar(255)
|
||||||
public $secret; // varchar(255)
|
|
||||||
public $verifier; // varchar(255)
|
public $verifier; // varchar(255)
|
||||||
public $created; // datetime not_null
|
public $created; // datetime not_null
|
||||||
public $modified; // timestamp not_null default_CURRENT_TIMESTAMP
|
public $modified; // timestamp not_null default_CURRENT_TIMESTAMP
|
||||||
|
@ -373,7 +373,6 @@ profile_id = 129
|
|||||||
application_id = 129
|
application_id = 129
|
||||||
access_type = 17
|
access_type = 17
|
||||||
token = 2
|
token = 2
|
||||||
secret = 2
|
|
||||||
verifier = 2
|
verifier = 2
|
||||||
created = 142
|
created = 142
|
||||||
modified = 384
|
modified = 384
|
||||||
|
@ -229,8 +229,7 @@ create table oauth_application_user (
|
|||||||
profile_id integer not null comment 'user of the application' references profile (id),
|
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),
|
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',
|
access_type tinyint default 0 comment 'access type, bit 1 = read, bit 2 = write, bit 3 = revoked',
|
||||||
token varchar(255) comment 'authorization token',
|
token varchar(255) comment 'request or access token',
|
||||||
secret varchar(255) comment 'token secret',
|
|
||||||
verifier varchar(255) not null comment 'verification code',
|
verifier varchar(255) not null comment 'verification code',
|
||||||
created datetime not null comment 'date this record was created',
|
created datetime not null comment 'date this record was created',
|
||||||
modified timestamp comment 'date this record was modified',
|
modified timestamp comment 'date this record was modified',
|
||||||
|
Loading…
Reference in New Issue
Block a user