[feature/oauth] Add unlink_account to auth interface

PHPBB3-11673
This commit is contained in:
Joseph Warner 2013-08-14 16:20:47 -04:00
parent 9c91446ef7
commit a2237ea8a7
2 changed files with 16 additions and 0 deletions

View file

@ -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;
}
} }

View file

@ -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);
} }