1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02:00

[feature/oauth] Initial step in creating OAuth login support

PHPBB3-11673
This commit is contained in:
Joseph Warner
2013-07-22 16:23:13 -04:00
parent d804842cef
commit cd49cfacfb
3 changed files with 26 additions and 2 deletions

View File

@@ -230,4 +230,14 @@ class phpbb_auth_provider_oauth extends phpbb_auth_provider_base
$service_factory = new \OAuth\ServiceFactory();
return $service_factory->createService($service_name, $credentials, $storage, $scopes);
}
/**
* Returns an array of login data for all enabled OAuth services.
*
* @return array
*/
public function get_login_data()
{
return array();
}
}