1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-01 14:30:32 +02:00

[feature/oauth] Use DB for OAuth token storage

PHPBB3-11673
This commit is contained in:
Joseph Warner
2013-07-13 16:51:38 -04:00
parent 37f099b014
commit 24bf333e16
5 changed files with 66 additions and 17 deletions

View File

@@ -923,6 +923,15 @@ function get_schema_struct()
),
);
$schemda_data['auth_provider_oauth'] = array(
'COLUMNS' => array(
'user_id' => array('UINT', 0), // phpbb_users.user_id
'oauth_provider' => array('VCHAR'), // Name of the OAuth provider
'oauth_token' => array('TEXT_UNI'), // Serialized token
),
'PRIMARY_KEY' => array('user_id', 'oauth_provider'),
);
$schema_data['phpbb_banlist'] = array(
'COLUMNS' => array(
'ban_id' => array('UINT', NULL, 'auto_increment'),