mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 23:07:39 +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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritdoc}
|
||||||
|
*/
|
||||||
|
public function unlink_account(array $link_data)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@@ -166,4 +166,12 @@ interface phpbb_auth_provider_interface
|
|||||||
* an external account.
|
* an external account.
|
||||||
*/
|
*/
|
||||||
public function link_account(array $link_data);
|
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