1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

[feature/oauth] Create means to associate phpBB account with external

PHPBB3-11673
This commit is contained in:
Joseph Warner
2013-07-18 12:12:14 -04:00
parent 469879716d
commit fe9428b725
4 changed files with 29 additions and 4 deletions

View File

@@ -923,7 +923,7 @@ function get_schema_struct()
),
);
$schemda_data['auth_provider_oauth'] = array(
$schemda_data['auth_provider_oauth_token_storage'] = array(
'COLUMNS' => array(
'user_id' => array('UINT', 0), // phpbb_users.user_id
'session_id' => array('CHAR:32', ''), // phpbb_sessions.session_id used only when user_id not set
@@ -936,6 +936,18 @@ function get_schema_struct()
),
);
$schemda_data['auth_provider_oauth_account_assoc'] = array(
'COLUMNS' => array(
'user_id' => array('UINT', 0),
'oauth_provider' => array('VCHAR'),
'oauth_provider_id' => array('TEXT_UNI'),
),
'PRIMARY_KEY' => array(
'user_id',
'oauth_provider',
),
);
$schema_data['phpbb_banlist'] = array(
'COLUMNS' => array(
'ban_id' => array('UINT', NULL, 'auto_increment'),