mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[feature/oauth] Update auth provider interface
PHPBB3-11673
This commit is contained in:
parent
d13a1788f0
commit
0ea555bbc7
1 changed files with 20 additions and 0 deletions
|
@ -167,6 +167,26 @@ interface phpbb_auth_provider_interface
|
||||||
*/
|
*/
|
||||||
public function link_account(array $link_data);
|
public function link_account(array $link_data);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns an array of data necessary to build the ucp_auth_link page
|
||||||
|
*
|
||||||
|
* @return array|null If this function is not implemented on an auth
|
||||||
|
* provider then it returns null. If it is implemented
|
||||||
|
* it will return an array of up to four elements of
|
||||||
|
* which only 'TEMPLATE_FILE'. If 'BLOCK_VAR_NAME' is
|
||||||
|
* present then 'BLOCK_VARS' must also be present in
|
||||||
|
* the array. The fourth element 'VARS' is also
|
||||||
|
* optional. The array, with all four elements present
|
||||||
|
* looks like the following:
|
||||||
|
* array(
|
||||||
|
* 'TEMPLATE_FILE' => string,
|
||||||
|
* 'BLOCK_VAR_NAME' => string,
|
||||||
|
* 'BLOCK_VARS' => array(...),
|
||||||
|
* 'VARS' => array(...),
|
||||||
|
* )
|
||||||
|
*/
|
||||||
|
public function get_auth_link_data();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Unlinks an external account from a phpBB account.
|
* Unlinks an external account from a phpBB account.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Add table
Reference in a new issue