aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/auth/provider/oauth/service/interface.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/phpbb/auth/provider/oauth/service/interface.php')
-rw-r--r--phpBB/phpbb/auth/provider/oauth/service/interface.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/phpBB/phpbb/auth/provider/oauth/service/interface.php b/phpBB/phpbb/auth/provider/oauth/service/interface.php
index 80f2ee7259..5893bc1740 100644
--- a/phpBB/phpbb/auth/provider/oauth/service/interface.php
+++ b/phpBB/phpbb/auth/provider/oauth/service/interface.php
@@ -30,6 +30,13 @@ interface phpbb_auth_provider_oauth_service_interface
public function get_auth_scope();
/**
+ * Returns the external library service provider once it has been set
+ *
+ * @param \OAuth\Common\Service\ServiceInterface|null
+ */
+ public function get_external_service_provider();
+
+ /**
* Returns an array containing the service credentials belonging to requested
* service.
*
@@ -41,4 +48,11 @@ interface phpbb_auth_provider_oauth_service_interface
* )
*/
public function get_service_credentials();
+
+ /**
+ * Sets the external library service provider
+ *
+ * @param \OAuth\Common\Service\ServiceInterface $service
+ */
+ public function set_external_service_provider(\OAuth\Common\Service\ServiceInterface $service_provider);
}