aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/auth/provider/oauth/service/interface.php
diff options
context:
space:
mode:
authorJoseph Warner <hardolaf@hardolaf.com>2013-07-14 15:16:34 -0400
committerJoseph Warner <hardolaf@hardolaf.com>2013-07-14 15:16:34 -0400
commit947aa2b6b442b5e1ce06c755c3e8ebea677f63e3 (patch)
tree59cc5f20e3da47487803010ddbabc87e39fdfe04 /phpBB/phpbb/auth/provider/oauth/service/interface.php
parent00d0e102008767f712145f55348a662f3e6750d6 (diff)
downloadforums-947aa2b6b442b5e1ce06c755c3e8ebea677f63e3.tar
forums-947aa2b6b442b5e1ce06c755c3e8ebea677f63e3.tar.gz
forums-947aa2b6b442b5e1ce06c755c3e8ebea677f63e3.tar.bz2
forums-947aa2b6b442b5e1ce06c755c3e8ebea677f63e3.tar.xz
forums-947aa2b6b442b5e1ce06c755c3e8ebea677f63e3.zip
[feature/oauth] Create OAuth service classes
PHPBB3-11673
Diffstat (limited to 'phpBB/phpbb/auth/provider/oauth/service/interface.php')
-rw-r--r--phpBB/phpbb/auth/provider/oauth/service/interface.php31
1 files changed, 31 insertions, 0 deletions
diff --git a/phpBB/phpbb/auth/provider/oauth/service/interface.php b/phpBB/phpbb/auth/provider/oauth/service/interface.php
new file mode 100644
index 0000000000..c79413ee3a
--- /dev/null
+++ b/phpBB/phpbb/auth/provider/oauth/service/interface.php
@@ -0,0 +1,31 @@
+<?php
+/**
+*
+* @package auth
+* @copyright (c) 2013 phpBB Group
+* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
+*
+*/
+
+/**
+* @ignore
+*/
+if (!defined('IN_PHPBB'))
+{
+ exit;
+}
+
+/**
+* OAuth service interface
+*
+* @package auth
+*/
+interface phpbb_auth_provider_oauth_service_interface
+{
+ /**
+ * Returns an array of the scopes necessary for auth
+ *
+ * @return array An array of the required scopes
+ */
+ public function get_auth_scope();
+}