mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-24 20:28:51 +00:00
[feature/oauth] Add unlink_account to auth interface
PHPBB3-11673
This commit is contained in:
parent
9c91446ef7
commit
a2237ea8a7
2 changed files with 16 additions and 0 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue