aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb
diff options
context:
space:
mode:
authorJoseph Warner <hardolaf@hardolaf.com>2013-07-22 16:23:13 -0400
committerJoseph Warner <hardolaf@hardolaf.com>2013-07-22 16:23:41 -0400
commitcd49cfacfb0faddce8343837b69eb919b8652352 (patch)
tree52614c152448ee1eb9a6a77b9f30fe0aad14fe03 /phpBB/phpbb
parentd804842cef945dbc7ec2c6c1d145587c62f06f65 (diff)
downloadforums-cd49cfacfb0faddce8343837b69eb919b8652352.tar
forums-cd49cfacfb0faddce8343837b69eb919b8652352.tar.gz
forums-cd49cfacfb0faddce8343837b69eb919b8652352.tar.bz2
forums-cd49cfacfb0faddce8343837b69eb919b8652352.tar.xz
forums-cd49cfacfb0faddce8343837b69eb919b8652352.zip
[feature/oauth] Initial step in creating OAuth login support
PHPBB3-11673
Diffstat (limited to 'phpBB/phpbb')
-rw-r--r--phpBB/phpbb/auth/provider/oauth/oauth.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/phpBB/phpbb/auth/provider/oauth/oauth.php b/phpBB/phpbb/auth/provider/oauth/oauth.php
index 7f3de0f4d9..eeb4b23be4 100644
--- a/phpBB/phpbb/auth/provider/oauth/oauth.php
+++ b/phpBB/phpbb/auth/provider/oauth/oauth.php
@@ -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();
+ }
}