aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/auth/provider/oauth/service/interface.php
diff options
context:
space:
mode:
authorJoseph Warner <hardolaf@hardolaf.com>2013-07-29 16:07:11 -0400
committerJoseph Warner <hardolaf@hardolaf.com>2013-07-29 16:07:26 -0400
commitd21ab4f629342d9f1bb46f489f166c9016ebe72b (patch)
tree9953a9c07476fe7cf7f4045ca683891cb7980272 /phpBB/phpbb/auth/provider/oauth/service/interface.php
parent3d55e5faa91f0161bc020720a81b50171b30f49d (diff)
downloadforums-d21ab4f629342d9f1bb46f489f166c9016ebe72b.tar
forums-d21ab4f629342d9f1bb46f489f166c9016ebe72b.tar.gz
forums-d21ab4f629342d9f1bb46f489f166c9016ebe72b.tar.bz2
forums-d21ab4f629342d9f1bb46f489f166c9016ebe72b.tar.xz
forums-d21ab4f629342d9f1bb46f489f166c9016ebe72b.zip
[feature/oauth] Update the OAuth service interface
PHPBB3-11673
Diffstat (limited to 'phpBB/phpbb/auth/provider/oauth/service/interface.php')
-rw-r--r--phpBB/phpbb/auth/provider/oauth/service/interface.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/phpBB/phpbb/auth/provider/oauth/service/interface.php b/phpBB/phpbb/auth/provider/oauth/service/interface.php
index a69148695d..0d6ae7417f 100644
--- a/phpBB/phpbb/auth/provider/oauth/service/interface.php
+++ b/phpBB/phpbb/auth/provider/oauth/service/interface.php
@@ -58,6 +58,15 @@ interface phpbb_auth_provider_oauth_service_interface
public function perform_auth_login();
/**
+ * Returns the results of the authentication in json format
+ * Use this function when the user already has an access token
+ *
+ * @return string The unique identifier returned by the service provider
+ * that is used to authenticate the user with phpBB.
+ */
+ public function perform_token_auth();
+
+ /**
* Sets the external library service provider
*
* @param \OAuth\Common\Service\ServiceInterface $service