uawdijnntqw1x1x1
IP : 216.73.217.142
Hostname : localhost.localdomain
Kernel : Linux localhost.localdomain 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
OS : Linux
PATH:
/
var
/
www
/
consult-e-syn
/
public_html
/
643de
/
..
/
components
/
com_akeeba
/
Model
/
Oauth2
/
DropboxEngine.php
/
/
<?php /** * @package akeebabackup * @copyright Copyright (c)2006-2023 Nicholas K. Dionysopoulos / Akeeba Ltd * @license GNU General Public License version 3, or later */ namespace Akeeba\Backup\Site\Model\Oauth2; defined('_JEXEC') || die; use FOF40\Input\Input; class DropboxEngine extends AbstractProvider implements ProviderInterface { /** @var string */ protected $tokenEndpoint = 'https://api.dropboxapi.com/1/oauth2/token'; /** @var string */ protected $engineNameForHumans = 'Dropbox'; public function getAuthenticationUrl(): string { $this->checkConfiguration(); [$id, $secret] = $this->getIdAndSecret(); $params = [ 'client_id' => $id, 'response_type' => 'code', 'redirect_uri' => $this->getUri('step2'), 'scope' => implode( ' ', [ 'account_info.read', 'files.metadata.read', 'files.content.write', 'files.content.read', 'team_data.member', ] ), 'token_access_type' => 'offline', ]; return 'https://www.dropbox.com/1/oauth2/authorize?' . http_build_query($params); } protected function getResponseCustomFields(Input $input): array { $fields = parent::getResponseCustomFields($input); unset($fields['client_id']); unset($fields['client_secret']); $fields['redirect_uri'] = $this->getUri('step2'); return $fields; } protected function getRefreshCustomFields(Input $input): array { $fields = parent::getRefreshCustomFields($input); unset($fields['client_id']); unset($fields['client_secret']); return $fields; } }
/var/www/consult-e-syn/public_html/643de/../components/com_akeeba/Model/Oauth2/DropboxEngine.php