/plugin/oauth/ |
H A D | Storage.php | 26 * The path to the file where tokens for this service and user are stored 28 * @param string $service 31 protected function getServiceFile($service) argument 33 return getCacheName($this->storageId . $service, '.oauth'); 39 * @param string $service 42 protected function loadServiceFile($service) argument 44 $file = $this->getServiceFile($service); 55 * @param string $service 58 protected function saveServiceFile($service, $data) argument 60 $file = $this->getServiceFile($service); 65 retrieveAccessToken($service) global() argument 75 storeAccessToken($service, TokenInterface $token) global() argument 83 hasAccessToken($service) global() argument 90 clearToken($service) global() argument 107 storeAuthorizationState($service, $state) global() argument 116 hasAuthorizationState($service) global() argument 126 retrieveAuthorizationState($service) global() argument 136 clearAuthorizationState($service) global() argument [all...] |
H A D | OAuthManager.php | 26 $service = $this->loadService($servicename); 27 $service->initOAuthService(); 28 $service->login(); // redirects 59 // init service from session 62 $service = $this->loadService($logindata['servicename']); 63 $service->initOAuthService(); 68 if (!$service->checkToken()) throw new \OAuth\Common\Exception\Exception("Invalid Token - Login failed"); 69 $userdata = $service->getUser(); 77 $service->upgradeStorage($storageId); 125 $service [all...] |
/plugin/evesso/phpoauthlib/src/OAuth/Common/Storage/ |
H A D | Memory.php | 35 if ($this->hasAccessToken($service)) { 36 return $this->tokens[$service]; 47 $this->tokens[$service] = $token; 56 public function hasAccessToken($service) argument 58 return isset($this->tokens[$service]) && $this->tokens[$service] instanceof TokenInterface; 64 public function clearToken($service) argument 67 unset($this->tokens[$service]); 91 return $this->states[$service]; 102 $this->states[$service] = $state; 113 return isset($this->states[$service]) && null !== $this->states[$service]; [all …]
|
H A D | Redis.php | 54 public function retrieveAccessToken($service) argument 56 if (!$this->hasAccessToken($service)) { 61 return $this->cachedTokens[$service]; 76 $this->cachedTokens[$service] = $token; 85 public function hasAccessToken($service) argument 87 if (isset($this->cachedTokens[$service]) 99 public function clearToken($service) argument 101 $this->redis->hdel($this->key, $service); 102 unset($this->cachedTokens[$service]); 158 $this->cachedStates[$service] = $state; [all …]
|
H A D | TokenStorageInterface.php | 14 * @param string $service 20 public function retrieveAccessToken($service); argument 23 * @param string $service 31 * @param string $service 35 public function hasAccessToken($service); argument 40 * @param string $service 44 public function clearToken($service); argument 57 * @param string $service 67 * @param string $service 76 * @param string $service [all …]
|
H A D | Session.php | 57 public function retrieveAccessToken($service) argument 59 if ($this->hasAccessToken($service)) { 79 $service => $serializedToken, 90 public function hasAccessToken($service) argument 98 public function clearToken($service) argument 122 public function storeAuthorizationState($service, $state) argument 130 $service => $state, 141 public function hasAuthorizationState($service) argument 149 public function retrieveAuthorizationState($service) argument 151 if ($this->hasAuthorizationState($service)) { [all …]
|
H A D | SymfonySession.php | 43 return $tokens[$service]; 61 $tokens[$service] = $token; 73 public function hasAccessToken($service) argument 79 && isset($tokens[$service]) 86 public function clearToken($service) argument 92 unset($tokens[$service]); 123 return $states[$service]; 141 $states[$service] = $state; 159 && isset($states[$service]) 160 && null !== $states[$service]; [all …]
|
/plugin/oauth/vendor/lusitanian/oauth/src/OAuth/Common/Storage/ |
H A D | Memory.php | 33 public function retrieveAccessToken($service) argument 35 if ($this->hasAccessToken($service)) { 36 return $this->tokens[$service]; 45 public function storeAccessToken($service, TokenInterface $token) argument 47 $this->tokens[$service] = $token; 56 public function hasAccessToken($service) argument 58 return isset($this->tokens[$service]) && $this->tokens[$service] instanceof TokenInterface; 64 public function clearToken($service) argument 66 if (array_key_exists($service, 88 retrieveAuthorizationState($service) global() argument 100 storeAuthorizationState($service, $state) global() argument 111 hasAuthorizationState($service) global() argument 119 clearAuthorizationState($service) global() argument [all...] |
H A D | Redis.php | 54 public function retrieveAccessToken($service) argument 56 if (!$this->hasAccessToken($service)) { 60 if (isset($this->cachedTokens[$service])) { 61 return $this->cachedTokens[$service]; 64 $val = $this->redis->hget($this->key, $service); 66 return $this->cachedTokens[$service] = unserialize($val); 72 public function storeAccessToken($service, TokenInterface $token) argument 75 $this->redis->hset($this->key, $service, serialize($token)); 76 $this->cachedTokens[$service] = $token; 85 public function hasAccessToken($service) argument 99 clearToken($service) global() argument 136 retrieveAuthorizationState($service) global() argument 154 storeAuthorizationState($service, $state) global() argument 167 hasAuthorizationState($service) global() argument 181 clearAuthorizationState($service) global() argument [all...] |
H A D | TokenStorageInterface.php | 14 * @param string $service 20 public function retrieveAccessToken($service); argument 23 * @param string $service 28 public function storeAccessToken($service, TokenInterface $token); argument 31 * @param string $service 35 public function hasAccessToken($service); argument 40 * @param string $service 44 public function clearToken($service); argument 55 * Store the authorization state related to a given service 57 * @param string $service 62 storeAuthorizationState($service, $state) global() argument 71 hasAuthorizationState($service) global() argument 80 retrieveAuthorizationState($service) global() argument 89 clearAuthorizationState($service) global() argument [all...] |
H A D | Session.php | 57 public function retrieveAccessToken($service) argument 59 if ($this->hasAccessToken($service)) { 60 return unserialize($_SESSION[$this->sessionVariableName][$service]); 69 public function storeAccessToken($service, TokenInterface $token) argument 76 $_SESSION[$this->sessionVariableName][$service] = $serializedToken; 79 $service => $serializedToken, 90 public function hasAccessToken($service) argument 92 return isset($_SESSION[$this->sessionVariableName], $_SESSION[$this->sessionVariableName][$service]); 98 public function clearToken($service) argument 100 if (array_key_exists($service, 122 storeAuthorizationState($service, $state) global() argument 141 hasAuthorizationState($service) global() argument 149 retrieveAuthorizationState($service) global() argument 161 clearAuthorizationState($service) global() argument [all...] |
H A D | SymfonySession.php | 36 public function retrieveAccessToken($service) argument 38 if ($this->hasAccessToken($service)) { 43 return $tokens[$service]; 52 public function storeAccessToken($service, TokenInterface $token) argument 61 $tokens[$service] = $token; 73 public function hasAccessToken($service) argument 79 && isset($tokens[$service]) 80 && $tokens[$service] instanceof TokenInterface; 86 public function clearToken($service) argument 91 if (is_array($tokens) && array_key_exists($service, 116 retrieveAuthorizationState($service) global() argument 132 storeAuthorizationState($service, $state) global() argument 153 hasAuthorizationState($service) global() argument 166 clearAuthorizationState($service) global() argument [all...] |
/plugin/evesso/classes/ |
H A D | oAuthStorage.php | 18 * @param string $service 28 * @param string $service 43 * @param string $service 55 * @param string $service 71 * @param string $service 81 * @param string $service 93 * @param string $service 116 * @param string $service 131 * @param string $service 143 * @param string $service [all …]
|
/plugin/issuelinks/db/ |
H A D | update0001.sql | 2 service TEXT NOT NULL CHECK(service <> ''), field 18 PRIMARY KEY (service, id, project, is_mergerequest) 22 service TEXT NOT NULL CHECK (service <> ''), field 30 …PRIMARY KEY (service, id, project, is_mergerequest, referenced_service, referenced_id, referenced_… 35 service TEXT NOT NULL CHECK(service <> ''), field 39 PRIMARY KEY (service, project, id, is_mergerequest) 45 service TEXT NOT NULL CHECK(service <> ''), field 50 PRIMARY KEY (page, rev, service, project_id, issue_id, is_mergerequest, type), 51 FOREIGN KEY (service) REFERENCES issues (service), 60 service TEXT NOT NULL CHECK(service <> ''), field [all …]
|
/plugin/socialshareprivacy2/SSP/scripts/ |
H A D | jquery.socialshareprivacy.js | 307 service.button.call($container.parent().parent()[0],service,uri,options) : 308 service.button); 316 alt: service.dummy_alt, 318 service.dummy_line_img : service.dummy_box_img) 555 service.status = $.trim(service.status).toLowerCase() === "true"; 558 service.perma_option = $.trim(service.perma_option).toLowerCase() === "true"; 573 if (service.status) { 643 if (service && service.status) { 653 append(service.button.call(this,service,uri,this_options)); 664 src: service.path_prefix + service[dummy_img] [all …]
|
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Endpoints/Security/ |
H A D | GetServiceAccounts.php | 31 protected $service; variable in Elasticsearch\\Endpoints\\Security\\GetServiceAccounts 36 $service = $this->service ?? null; 38 if (isset($namespace) && isset($service)) { 39 return "/_security/service/$namespace/$service"; 42 return "/_security/service/$namespace"; 44 return "/_security/service"; 69 public function setService($service): GetServiceAccounts argument 71 if (isset($service) ! [all...] |
H A D | CreateServiceToken.php | 32 protected $service; variable in Elasticsearch\\Endpoints\\Security\\CreateServiceToken 43 if (isset($this->service) !== true) { 45 'service is required for create_service_token' 48 $service = $this->service; 52 return "/_security/service/$namespace/$service/credential/token/$name"; 54 return "/_security/service/$namespace/$service/credential/token"; 79 public function setService($service) argument [all...] |
H A D | GetServiceCredentials.php | 32 protected $service; variable in Elasticsearch\\Endpoints\\Security\\GetServiceCredentials 37 $service = $this->service ?? null; 39 if (isset($namespace) && isset($service)) { 40 return "/_security/service/$namespace/$service/credential"; 67 public function setService($service): GetServiceCredentials argument 69 if (isset($service) !== true) { 72 $this->service = $service; [all...] |
H A D | DeleteServiceToken.php | 32 protected $service; variable in Elasticsearch\\Endpoints\\Security\\DeleteServiceToken 38 $service = $this->service ?? null; 41 if (isset($namespace) && isset($service) && isset($name)) { 42 return "/_security/service/$namespace/$service/credential/token/$name"; 69 public function setService($service): DeleteServiceToken argument 71 if (isset($service) !== true) { 74 $this->service = $service; [all...] |
H A D | ClearCachedServiceTokens.php | 32 protected $service; variable in Elasticsearch\\Endpoints\\Security\\ClearCachedServiceTokens 38 $service = $this->service ?? null; 41 if (isset($namespace) && isset($service) && isset($name)) { 42 return "/_security/service/$namespace/$service/credential/token/$name/_clear_cache"; 69 public function setService($service): ClearCachedServiceTokens argument 71 if (isset($service) !== true) { 74 $this->service = $service; [all...] |
/plugin/profiles/ |
H A D | syntax.php | 57 $service = $indata["service"]; 64 $ahref = $this->links[$service]; 67 if ($service=="facebook") 72 if ($service=="github") 77 if ($service=="googleplus") 82 if ($service=="linkedin") 88 if ($service=="twitter") 93 if ($service=="bitbucket") 98 if ($service=="blog"||$service=="web") 102 …><img src="' . DOKU_BASE . 'lib/plugins/profiles/images/'.$service.'_icon.png" alt="'.$service.'" …
|
/plugin/combo/vendor/php-webdriver/webdriver/lib/Remote/Service/ |
H A D | DriverCommandExecutor.php | 13 * A HttpCommandExecutor that talks to a local driver service instead of a remote server. 20 private $service; variable in Facebook\\WebDriver\\Remote\\Service\\DriverCommandExecutor 22 public function __construct(DriverService $service) argument 24 parent::__construct($service->getURL()); 25 $this->service = $service; 38 $this->service->start(); 44 $this->service->stop(); 49 if (!$this->service->isRunning()) {
|
/plugin/icalevents/vendor/sabre/xml/tests/Sabre/Xml/Deserializer/ |
H A D | EnumTest.php | 11 $service = new Service(); 12 $service->elementMap['{urn:test}root'] = 'Sabre\Xml\Deserializer\enum'; 22 $result = $service->parse($xml); 37 $service = new Service(); 38 $service->elementMap['{urn:test}root'] = function($reader) { 50 $result = $service->parse($xml);
|
/plugin/issuelinks/admin/ |
H A D | repoadmin.php | 67 $service = $services[$serviceID]::getInstance(); 68 $service->handleAuthorization(); 72 $service = $serviceClass::getInstance(); 74 if ($INPUT->str('reconfigureService') === $serviceID || !$service->isConfigured()) { 79 $this->orgs[$serviceID] = $service->getListOfAllUserOrganisations(); 113 $service = $services[$serviceID]; 114 $serviceName = $service::DISPLAY_NAME; 130 $service = $services[$serviceID]::getInstance(); 131 $serviceName = $service::DISPLAY_NAME; 140 $service->hydrateConfigForm($configForm); [all …]
|
/plugin/oauth/action/ |
H A D | user.php | 84 foreach ($services as $service) { 85 if (isset($enabled[$service])) { 86 $groups[] = $service; 88 $idx = array_search($service, $groups); 99 * Add service selection to user profile 123 foreach ($services as $service) { 124 $group = $auth->cleanGroup($service->getServiceID()); 128 $service->getLabel(), 143 * Add service selection to user profile 163 foreach ($services as $service) { [all...] |