mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-26 17:54:39 +02:00
[feature/oauth] Get service credentials on each OAuth service
PHPBB3-11673
This commit is contained in:
@@ -22,5 +22,14 @@ if (!defined('IN_PHPBB'))
|
||||
*/
|
||||
class phpbb_auth_provider_oauth_service_bitly extends phpbb_auth_provider_oauth_service_base
|
||||
{
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function get_service_credentials()
|
||||
{
|
||||
return array(
|
||||
'key' => $this->config['auth_oauth_bitly_key'],
|
||||
'secret' => $this->config['auth_oauth_bitly_secret'],
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user