]> git.mxchange.org Git - friendica.git/blobdiff - src/Network/FKOAuthDataStore.php
Remove code parameter from HTTPException constructor
[friendica.git] / src / Network / FKOAuthDataStore.php
index 276ba2fcbe74e9ddaa7b42d7f01677dff696dbe3..d1f43172b651f2d4f40503417718987198e7b6ec 100644 (file)
@@ -35,6 +35,7 @@ class FKOAuthDataStore extends OAuthDataStore
        /**
         * @param string $consumer_key key
         * @return mixed
+        * @throws \Exception
         */
        public function lookup_consumer($consumer_key)
        {
@@ -55,6 +56,7 @@ class FKOAuthDataStore extends OAuthDataStore
         * @param string $token_type type
         * @param string $token      token
         * @return mixed
+        * @throws \Exception
         */
        public function lookup_token($consumer, $token_type, $token)
        {
@@ -80,6 +82,7 @@ class FKOAuthDataStore extends OAuthDataStore
         * @param string $nonce     nonce
         * @param string $timestamp timestamp
         * @return mixed
+        * @throws \Exception
         */
        public function lookup_nonce($consumer, $token, $nonce, $timestamp)
        {
@@ -95,6 +98,7 @@ class FKOAuthDataStore extends OAuthDataStore
         * @param string $consumer consumer
         * @param string $callback optional, default null
         * @return mixed
+        * @throws \Exception
         */
        public function new_request_token($consumer, $callback = null)
        {
@@ -130,6 +134,7 @@ class FKOAuthDataStore extends OAuthDataStore
         * @param string $consumer consumer
         * @param string $verifier optional, defult null
         * @return object
+        * @throws HTTPException\InternalServerErrorException
         */
        public function new_access_token($token, $consumer, $verifier = null)
        {