aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/auth/provider/oauth/service/interface.php
diff options
context:
space:
mode:
authorJoseph Warner <hardolaf@hardolaf.com>2013-07-14 16:00:41 -0400
committerJoseph Warner <hardolaf@hardolaf.com>2013-07-14 16:00:41 -0400
commit6a2871692cb9b2e9027b026604e8f456f17d1b44 (patch)
tree5d07bf13b5f3522dea0df2553df0265c59015968 /phpBB/phpbb/auth/provider/oauth/service/interface.php
parent55cdc874e6519242f7031de034df8d8c00ae283f (diff)
downloadforums-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/interface.php')
-rw-r--r--phpBB/phpbb/auth/provider/oauth/service/interface.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/phpBB/phpbb/auth/provider/oauth/service/interface.php b/phpBB/phpbb/auth/provider/oauth/service/interface.php
index c79413ee3a..80f2ee7259 100644
--- a/phpBB/phpbb/auth/provider/oauth/service/interface.php
+++ b/phpBB/phpbb/auth/provider/oauth/service/interface.php
@@ -28,4 +28,17 @@ interface phpbb_auth_provider_oauth_service_interface
* @return array An array of the required scopes
*/
public function get_auth_scope();
+
+ /**
+ * Returns an array containing the service credentials belonging to requested
+ * service.
+ *
+ * @return array An array containing the 'key' and the 'secret' of the
+ * service in the form:
+ * array(
+ * 'key' => string
+ * 'secret' => string
+ * )
+ */
+ public function get_service_credentials();
}