Home
last modified time | relevance | path

Searched refs:providerID (Results 1 – 9 of 9) sorted by relevance

/plugin/twofactor/
H A DManager.php193 foreach ($this->providers as $providerID => $provider) {
194 if ($providerID !== $provider->getProviderID()) {
196 unset($this->providers[$providerID]);
225 * @param string $providerID
229 public function getUserProvider($providerID) argument
232 if (isset($providers[$providerID])) return $providers[$providerID];
292 public function verifyCode($code, $providerID) argument
295 if (!$providerID) return false;
296 $provider = $this->getUserProvider($providerID);
311 getCodeForm($providerID) global() argument
[all...]
H A DSettings.php17 protected $providerID; variable in dokuwiki\\plugin\\twofactor\\Settings
32 $this->providerID = $module;
69 return $this->attribute->exists($this->providerID, $key, $this->user);
82 $data = $this->attribute->get($this->providerID, $key, $success, $this->user);
96 return $this->attribute->set($this->providerID, $key, $value, $this->user);
107 return $this->attribute->del($this->providerID, $key, $this->user);
117 return $this->attribute->purge($this->providerID, $this->user);
H A DProvider.php19 protected $providerID; variable in dokuwiki\\plugin\\twofactor\\Provider
78 if (!$this->providerID) {
79 $this->providerID = $this->getPluginName();
82 return $this->providerID;
92 return PhpString::ucfirst($this->providerID);
H A Dadmin.php48 foreach ($this->manager->getAllProviders() as $providerID => $provider) {
49 (new Settings($providerID, $userdel))->purge();
/plugin/twofactor/action/
H A Dlogin.php123 $providerID = $INPUT->str('2fa_provider');
128 echo $manager->getCodeForm($providerID)->toHTML();
170 list($providerID, $hash,) = $data;
173 $provider = (Manager::getInstance())->getUserProvider($providerID);
215 protected function verify($code, $providerID, $sticky)
220 if (!$manager->verifyCode($code, $providerID)) return false;
222 $provider = (Manager::getInstance())->getUserProvider($providerID);
226 $data = base64_encode(serialize([$providerID, $hash, time()]));
208 verify($code, $providerID, $sticky) global() argument
H A Dresendpwd.php63 $providerID = $INPUT->post->str('2fa_provider');
64 if ($code && $manager->verifyCode($code, $providerID)) {
95 $providerID = $INPUT->post->str('2fa_provider');
98 $form = $manager->getCodeForm($providerID);
H A Dprofile.php262 $providerID = $INPUT->str('provider');
264 if (!isset($providers[$providerID])) return;
265 $provider = $providers[$providerID];
267 $form = new Form(['method' => 'POST', 'class' => 'provider-' . $providerID]);
/plugin/fedauth/Auth/Yadis/
H A DXRI.php137 function Auth_Yadis_providerIsAuthoritative($providerID, $canonicalID) argument
141 return $p == $providerID;
/plugin/openid/Auth/Yadis/
H A DXRI.php137 function Auth_Yadis_providerIsAuthoritative($providerID, $canonicalID) argument
141 return $p == $providerID;