Home
last modified time | relevance | path

Searched refs:secret (Results 1 – 25 of 146) sorted by relevance

123456

/plugin/authg2fa/
DGoogleAuthenticator.php28 $secret = '';
30 $secret .= $validChars[array_rand($validChars)];
32 return $secret;
38 * @param string $secret
42 public function getCode($secret, $timeSlice = null) argument
48 $secretkey = $this->_base32Decode($secret);
73 * @param string $secret
76 public function getQRCodeGoogleUrl($name, $secret) { argument
77 $urlencoded = urlencode('otpauth://totp/'.$name.'?secret='.$secret.'');
84 * @param string $secret
[all …]
Daction.php52 $secret = $th->getSecret($_SERVER['REMOTE_USER']);
66 $secret = $th->getSecret($_SERVER['REMOTE_USER']);
79 $secret = $th->getSecret($_SERVER['REMOTE_USER']);
82 if($secret != '') {
84 $url = $ga->getQRCodeGoogleUrl(urlencode('DokuWiki:'.$_SERVER['REMOTE_USER']), $secret);
93 $secret = '';
98 …$form->addElement(form_makeTextField('secret', $secret, $this->getLang('secret'), '', 'block', arr…
102 …, $this->getLang('showqr'), array('name' => 'fn[showqr]', 'disabled' => $secret == '' ? 'disabled'…
107 …this->getLang('delete'), array('name' => 'fn[delsecret]', 'disabled' => $secret == '' ? 'disabled'…
/plugin/authgoogle2fa/
DGoogleAuthenticator.php28 $secret = '';
30 $secret .= $validChars[array_rand($validChars)];
32 return $secret;
38 * @param string $secret
42 public function getCode($secret, $timeSlice = null) argument
48 $secretkey = $this->_base32Decode($secret);
73 * @param string $secret
76 public function getQRCodeGoogleUrl($name, $secret) { argument
77 $urlencoded = urlencode('otpauth://totp/'.$name.'?secret='.$secret.'');
84 * @param string $secret
[all …]
/plugin/twofactor/
DGoogleAuthenticator.php38 $secret = '';
52 $secret .= $validChars[ord($rnd[$i]) & 31];
58 return $secret;
64 * @param string $secret
69 public function getCode($secret, $timeSlice = null) argument
75 $secretkey = $this->_base32Decode($secret);
101 * @param string $secret
107 public function getQRCodeGoogleUrl($name, $secret, $title = null, $params = array()) argument
113 $urlencoded = urlencode('otpauth://totp/'.$name.'?secret='.$secret.'');
124 * @param string $secret
[all …]
DProvider.php146 $secret = $ga->createSecret();
148 $this->settings->set('secret', $secret);
149 return $secret;
170 $secret = $this->settings->get('secret');
171 if (!$secret) throw new \Exception('No secret for provider ' . $this->getProviderID());
174 return $ga->getCode($secret);
187 $secret = $this->settings->get('secret');
188 … if (!$secret) throw new \RuntimeException('No secret for provider ' . $this->getProviderID());
191 $ok = $ga->verifyCode($secret, $code, $this->getTolerance());
/plugin/crypto/
Daction.php71 function crypto_encrypt($data, $secret) { argument
73 $data = PMA_blowfish_encrypt($data, $secret);
78 function crypto_decrypt($data, $secret) { argument
81 $data = PMA_blowfish_decrypt($data, $secret);
90 $secret = $_POST['secret'];
91 if (empty($secret)) {
94 $result = crypto_encrypt($secret.$data, $secret);
109 $secret = $_POST['secret'];
110 if (empty($secret)) {
113 $result = crypto_decrypt($data, $secret);
[all …]
/plugin/authfacebook/lib/
DFacebookApp.php39 protected $secret; variable in Facebook\\FacebookApp
43 * @param string $secret
47 public function __construct($id, $secret) argument
56 $this->secret = $secret;
76 return $this->secret;
86 return new AccessToken($this->id . '|' . $this->secret);
96 return implode('|', [$this->id, $this->secret]);
106 list($id, $secret) = explode('|', $serialized);
108 $this->__construct($id, $secret);
/plugin/revealjs/plugin/multiplex/
Dindex.js20 if (typeof data.secret == 'undefined' || data.secret == null || data.secret === '') return;
21 if (createHash(data.secret) === data.socketId) {
22 data.secret = null;
48 var secret = ts.toString() + rand.toString();
49 res.send({secret: secret, socketId: createHash(secret)}); property
52 var createHash = function(secret) { argument
53 var cipher = crypto.createCipher('blowfish', secret);
/plugin/recaptcha2/lib/ReCaptcha/
DReCaptcha.php44 private $secret; variable in ReCaptcha\\ReCaptcha
55 * @param string $secret shared secret between site and reCAPTCHA server.
58 public function __construct($secret, RequestMethod $requestMethod = null) argument
60 if (empty($secret)) {
64 if (!is_string($secret)) {
68 $this->secret = $secret;
93 $params = new RequestParameters($this->secret, $response, $remoteIp, self::VERSION);
DRequestParameters.php38 private $secret; variable in ReCaptcha\\RequestParameters
61 * @param string $secret Site secret.
66 public function __construct($secret, $response, $remoteIp = null, $version = null) argument
68 $this->secret = $secret;
81 $params = array('secret' => $this->secret, 'response' => $this->response);
/plugin/authgooglesheets/vendor/google/apiclient-services/src/Sasportal/
DSasPortalGenerateSecretResponse.php25 public $secret; variable in Google\\Service\\Sasportal\\SasPortalGenerateSecretResponse
30 public function setSecret($secret) argument
32 $this->secret = $secret;
39 return $this->secret;
DSasPortalValidateInstallerRequest.php33 public $secret; variable in Google\\Service\\Sasportal\\SasPortalValidateInstallerRequest
66 public function setSecret($secret) argument
68 $this->secret = $secret;
75 return $this->secret;
/plugin/authgooglesheets/vendor/google/apiclient-services/src/SASPortalTesting/
DSasPortalGenerateSecretResponse.php25 public $secret; variable in Google\\Service\\SASPortalTesting\\SasPortalGenerateSecretResponse
30 public function setSecret($secret) argument
32 $this->secret = $secret;
39 return $this->secret;
DSasPortalValidateInstallerRequest.php33 public $secret; variable in Google\\Service\\SASPortalTesting\\SasPortalValidateInstallerRequest
66 public function setSecret($secret) argument
68 $this->secret = $secret;
75 return $this->secret;
/plugin/authgooglesheets/vendor/google/apiclient-services/src/CloudRun/
DGoogleCloudRunV2SecretKeySelector.php25 public $secret; variable in Google\\Service\\CloudRun\\GoogleCloudRunV2SecretKeySelector
34 public function setSecret($secret) argument
36 $this->secret = $secret;
43 return $this->secret;
DGoogleCloudRunOpV2SecretKeySelector.php25 public $secret; variable in Google\\Service\\CloudRun\\GoogleCloudRunOpV2SecretKeySelector
34 public function setSecret($secret) argument
36 $this->secret = $secret;
43 return $this->secret;
DGoogleCloudRunOpV2SecretVolumeSource.php32 public $secret; variable in Google\\Service\\CloudRun\\GoogleCloudRunOpV2SecretVolumeSource
65 public function setSecret($secret) argument
67 $this->secret = $secret;
74 return $this->secret;
DGoogleCloudRunV2SecretVolumeSource.php32 public $secret; variable in Google\\Service\\CloudRun\\GoogleCloudRunV2SecretVolumeSource
65 public function setSecret($secret) argument
67 $this->secret = $secret;
74 return $this->secret;
/plugin/authgooglesheets/vendor/google/apiclient-services/src/CloudBuild/
DWebhookConfig.php25 public $secret; variable in Google\\Service\\CloudBuild\\WebhookConfig
34 public function setSecret($secret) argument
36 $this->secret = $secret;
43 return $this->secret;
/plugin/authgooglesheets/vendor/google/apiclient-services/src/CloudIAP/
DIdentityAwareProxyClient.php33 public $secret; variable in Google\\Service\\CloudIAP\\IdentityAwareProxyClient
66 public function setSecret($secret) argument
68 $this->secret = $secret;
75 return $this->secret;
/plugin/openid/Auth/OpenID/
DAssociation.php86 * @param string $secret This is the shared secret the server
96 static function fromExpiresIn($expires_in, $handle, $secret, $assoc_type) argument
100 return new Auth_OpenID_Association($handle, $secret,
114 * @param string $secret This is the shared secret the server
131 $handle, $secret, $issued, $lifetime, $assoc_type) argument
140 $this->secret = $secret;
175 && ($this->secret == $other->secret)
192 'secret' => base64_encode($this->secret),
238 $secret = $pairs['secret'];
250 $secret = base64_decode($secret);
[all …]
/plugin/authgooglesheets/vendor/google/apiclient-services/src/Storage/
DHmacKey.php31 public $secret; variable in Google\\Service\\Storage\\HmacKey
64 public function setSecret($secret) argument
66 $this->secret = $secret;
73 return $this->secret;
/plugin/fedauth/Auth/OpenID/
DAssociation.php97 static function fromExpiresIn($expires_in, $handle, $secret, $assoc_type) argument
101 return new Auth_OpenID_Association($handle, $secret,
115 * @param string $secret This is the shared secret the server
132 $handle, $secret, $issued, $lifetime, $assoc_type) argument
141 $this->secret = $secret;
174 && ($this->secret == $other->secret)
191 'secret' => base64_encode($this->secret),
236 $secret = $pairs['secret'];
248 $secret = base64_decode($secret);
251 $handle, $secret, $issued, $lifetime, $assoc_type);
[all …]
/plugin/authgooglesheets/vendor/google/apiclient-services/src/CloudFunctions/
DSecretEnvVar.php33 public $secret; variable in Google\\Service\\CloudFunctions\\SecretEnvVar
70 public function setSecret($secret) argument
72 $this->secret = $secret;
79 return $this->secret;
DSecretVolume.php34 public $secret; variable in Google\\Service\\CloudFunctions\\SecretVolume
69 public function setSecret($secret) argument
71 $this->secret = $secret;
78 return $this->secret;

123456