Файловый менеджер - Редактировать - /var/www/html/administrator/components/com_jchat/Framework/OAuth/Common/Storage/TokenStorageInterface.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\Common\Storage; defined ( '_JEXEC' ) or die ( 'Restricted access' ); use OAuth\Common\Token\TokenInterface; use OAuth\Common\Storage\Exception\TokenNotFoundException; /** * All token storage providers must implement this interface. */ interface TokenStorageInterface { /** * @param string $service * * @return TokenInterface * * @throws TokenNotFoundException */ public function retrieveAccessToken($service); /** * @param string $service * @param TokenInterface $token * * @return TokenStorageInterface */ public function storeAccessToken($service, TokenInterface $token); /** * @param string $service * * @return bool */ public function hasAccessToken($service); /** * Delete the users token. Aka, log out. * * @param string $service * * @return TokenStorageInterface */ public function clearToken($service); /** * Delete *ALL* user tokens. Use with care. Most of the time you will likely * want to use clearToken() instead. * * @return TokenStorageInterface */ public function clearAllTokens(); /** * Store the authorization state related to a given service * * @param string $service * @param string $state * * @return TokenStorageInterface */ public function storeAuthorizationState($service, $state); /** * Check if an authorization state for a given service exists * * @param string $service * * @return bool */ public function hasAuthorizationState($service); /** * Retrieve the authorization state for a given service * * @param string $service * * @return string */ public function retrieveAuthorizationState($service); /** * Clear the authorization state of a given service * * @param string $service * * @return TokenStorageInterface */ public function clearAuthorizationState($service); /** * Delete *ALL* user authorization states. Use with care. Most of the time you will likely * want to use clearAuthorization() instead. * * @return TokenStorageInterface */ public function clearAllAuthorizationStates(); }
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка