Файловый менеджер - Редактировать - /var/www/html/administrator/components/com_jchat/Framework/OAuth/OAuth2/Service/ServiceInterface.php
Ðазад
<?php // namespace administrator\components\com_jchat\framework; /** * * @package JCHAT::CONFIG::administrator::components::com_jchat * @subpackage framework * @author Joomla! Extensions Store * @copyright (C) 2015 - Joomla! Extensions Store * @license GNU/GPLv2 http://www.gnu.org/licenses/gpl-2.0.html */ namespace OAuth\OAuth2\Service; defined ( '_JEXEC' ) or die ( 'Restricted access' ); use OAuth\Common\Consumer\CredentialsInterface; use OAuth\Common\Storage\TokenStorageInterface; use OAuth\Common\Token\TokenInterface; use OAuth\Common\Http\Client\ClientInterface; use OAuth\Common\Http\Exception\TokenResponseException; use OAuth\Common\Service\ServiceInterface as BaseServiceInterface; use OAuth\Common\Http\Uri\UriInterface; /** * Defines the common methods across OAuth 2 services. */ interface ServiceInterface extends BaseServiceInterface { /** * Authorization methods for various services */ const AUTHORIZATION_METHOD_HEADER_OAUTH = 0; const AUTHORIZATION_METHOD_HEADER_BEARER = 1; const AUTHORIZATION_METHOD_QUERY_STRING = 2; const AUTHORIZATION_METHOD_QUERY_STRING_V2 = 3; const AUTHORIZATION_METHOD_QUERY_STRING_V3 = 4; /** * Retrieves and stores/returns the OAuth2 access token after a successful authorization. * * @param string $code The access code from the callback. * * @return TokenInterface $token * * @throws TokenResponseException */ public function requestAccessToken($code); }
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка