]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/OAuth/Acknowledge.php
API: Show different ids on reshares / don't check for client secret
[friendica.git] / src / Module / OAuth / Acknowledge.php
index 477d3dfcf39ce609473b4cbd2e9e75ec467c3261..861d22f279c46ba104838f496029fab19b92b82f 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2021, the Friendica project
+ * @copyright Copyright (C) 2010-2023, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -24,12 +24,19 @@ namespace Friendica\Module\OAuth;
 use Friendica\Core\Renderer;
 use Friendica\DI;
 use Friendica\Module\BaseApi;
+use Friendica\Module\Special\HTTPException;
+use Psr\Http\Message\ResponseInterface;
 
 /**
  * Acknowledgement of OAuth requests
  */
 class Acknowledge extends BaseApi
 {
+       public function run(HTTPException $httpException, array $request = [], bool $scopecheck = true): ResponseInterface
+       {
+               return parent::run($httpException, $request, false);
+       }
+
        protected function post(array $request = [])
        {
                DI::session()->set('oauth_acknowledge', true);