diff options
| author | Joseph Warner <hardolaf@hardolaf.com> | 2013-07-14 16:00:41 -0400 |
|---|---|---|
| committer | Joseph Warner <hardolaf@hardolaf.com> | 2013-07-14 16:00:41 -0400 |
| commit | 6a2871692cb9b2e9027b026604e8f456f17d1b44 (patch) | |
| tree | 5d07bf13b5f3522dea0df2553df0265c59015968 /phpBB/phpbb/auth/provider/oauth/service/google.php | |
| parent | 55cdc874e6519242f7031de034df8d8c00ae283f (diff) | |
| download | forums-6a2871692cb9b2e9027b026604e8f456f17d1b44.tar forums-6a2871692cb9b2e9027b026604e8f456f17d1b44.tar.gz forums-6a2871692cb9b2e9027b026604e8f456f17d1b44.tar.bz2 forums-6a2871692cb9b2e9027b026604e8f456f17d1b44.tar.xz forums-6a2871692cb9b2e9027b026604e8f456f17d1b44.zip | |
[feature/oauth] Get service credentials on each OAuth service
PHPBB3-11673
Diffstat (limited to 'phpBB/phpbb/auth/provider/oauth/service/google.php')
| -rw-r--r-- | phpBB/phpbb/auth/provider/oauth/service/google.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/phpBB/phpbb/auth/provider/oauth/service/google.php b/phpBB/phpbb/auth/provider/oauth/service/google.php index d72c66ac5e..50cfee86e0 100644 --- a/phpBB/phpbb/auth/provider/oauth/service/google.php +++ b/phpBB/phpbb/auth/provider/oauth/service/google.php @@ -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'], + ); + } } |
