diff options
| author | Joseph Warner <hardolaf@hardolaf.com> | 2013-07-29 16:07:11 -0400 |
|---|---|---|
| committer | Joseph Warner <hardolaf@hardolaf.com> | 2013-07-29 16:07:26 -0400 |
| commit | d21ab4f629342d9f1bb46f489f166c9016ebe72b (patch) | |
| tree | 9953a9c07476fe7cf7f4045ca683891cb7980272 /phpBB/phpbb/auth/provider/oauth/service/interface.php | |
| parent | 3d55e5faa91f0161bc020720a81b50171b30f49d (diff) | |
| download | forums-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.php | 9 |
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 |
