Home
last modified time | relevance | path

Searched refs:storageId (Results 1 – 5 of 5) sorted by relevance

/plugin/oauth/
H A DStorage.php15 protected $storageId; variable in dokuwiki\\plugin\\oauth\\Storage
18 * @param string $storageId The ID identifying the user
20 public function __construct($storageId) argument
22 $this->storageId = $storageId;
33 return getCacheName($this->storageId . $service, '.oauth');
H A DSession.php120 * @param string $storageId
123 public function setCookie($servicename, $storageId)
127 $cookie = "$servicename|oauth|$storageId";
151 [$servicename, $oauth, $storageId] = explode('|', $_COOKIE[DOKU_COOKIE]);
153 return ['servicename' => $servicename, 'storageId' => $storageId];
129 setCookie($servicename, $storageId) global() argument
H A DAdapter.php53 * @param string $storageId user based storage key (if available, yet)
56 public function initOAuthService($storageId = '')
76 if ($storageId) {
77 $storage = new Storage($storageId);
107 * @param string $storageId
111 public function upgradeStorage($storageId)
117 $newStorage = new Storage($storageId);
54 initOAuthService($storageId = '') global() argument
108 upgradeStorage($storageId) global() argument
H A DOAuthManager.php76 $storageId = $this->getStorageId($userdata['mail']);
77 $service->upgradeStorage($storageId);
81 $session->setCookie($logindata['servicename'], $storageId); // set cookie
126 $service->initOAuthService($cookie['storageId']);
154 $service->initOAuthService($cookie['storageId']);
/plugin/owncloud/
H A Dhelper.php50 $storageId = 'local::'.$conf['mediadir'].'/';
51 if (strlen($storageId) > 64) {
52 $storageId = md5($storageId);
55 $this->dbQuery('SELECT numeric_id FROM `*PREFIX*storages` WHERE `id` LIKE ?', array($storageId));