1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-22 00:05:49 +02:00

[feature/oauth] Get service credentials on each OAuth service

PHPBB3-11673
This commit is contained in:
Joseph Warner
2013-07-14 16:00:41 -04:00
parent 55cdc874e6
commit 6a2871692c
19 changed files with 201 additions and 12 deletions

View File

@@ -32,4 +32,15 @@ class phpbb_auth_provider_oauth_service_google extends phpbb_auth_provider_oauth
'userinfo_profile',
);
}
/**
* {@inheritdoc}
*/
public function get_service_credentials()
{
return array(
'key' => $this->config['auth_oauth_google_key'],
'secret' => $this->config['auth_oauth_google_secret'],
);
}
}