aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/auth/provider/oauth/service/github.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/phpbb/auth/provider/oauth/service/github.php')
-rw-r--r--phpBB/phpbb/auth/provider/oauth/service/github.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/phpBB/phpbb/auth/provider/oauth/service/github.php b/phpBB/phpbb/auth/provider/oauth/service/github.php
index 1eddb26906..30d23b0e4f 100644
--- a/phpBB/phpbb/auth/provider/oauth/service/github.php
+++ b/phpBB/phpbb/auth/provider/oauth/service/github.php
@@ -31,4 +31,15 @@ class phpbb_auth_provider_oauth_service_github extends phpbb_auth_provider_oauth
'user',
);
}
+
+ /**
+ * {@inheritdoc}
+ */
+ public function get_service_credentials()
+ {
+ return array(
+ 'key' => $this->config['auth_oauth_github_key'],
+ 'secret' => $this->config['auth_oauth_github_secret'],
+ );
+ }
}