mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[feature/oauth] Add unlink_account to auth interface
PHPBB3-11673
This commit is contained in:
@@ -101,4 +101,12 @@ abstract class phpbb_auth_provider_base implements phpbb_auth_provider_interface
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function unlink_account(array $link_data)
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
@@ -166,4 +166,12 @@ interface phpbb_auth_provider_interface
|
||||
* an external account.
|
||||
*/
|
||||
public function link_account(array $link_data);
|
||||
|
||||
/**
|
||||
* Unlinks an external account from a phpBB account.
|
||||
*
|
||||
* @param array $link_data Any data needed to unlink a phpBB account
|
||||
* from a phpbb account.
|
||||
*/
|
||||
public function unlink_account(array $link_data);
|
||||
}
|
||||
|
Reference in New Issue
Block a user