Home
last modified time | relevance | path

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

1234

/plugin/twofactorgoogleauth/
H A DGoogleAuthenticator.php28 $secret = '';
32 return $secret;
38 * @param string $secret
73 * @param string $secret
84 * @param string $secret
123 if (empty($secret)) return '';
135 $secret = str_replace('=','', $secret);
136 $secret = str_split($secret);
155 * @param string $secret
161 if (empty($secret)) return '';
[all …]
H A Dhelper.php113 $secret = $this->_settingGet("secret",'', $user);
114 return $ga->verifyCode($secret, $code, $expiry);
125 private function generateQRCodeData($name, $secret) { argument
126 $url = 'otpauth://totp/'.rawurlencode($name).'?secret='.$secret;
/plugin/authgoogle2fa/
H A DGoogleAuthenticator.php28 $secret = '';
32 return $secret;
38 * @param string $secret
73 * @param string $secret
84 * @param string $secret
123 if (empty($secret)) return '';
135 $secret = str_replace('=','', $secret);
136 $secret = str_split($secret);
155 * @param string $secret
161 if (empty($secret)) return '';
[all …]
H A Dauth.php19 $secret = $this->getConf("google_secret");
20 define('GOOGLE_AUTH_SECRET', $secret);
30 $checkResult = $ga->verifyCode($secret, $twofa, $tslack);
/plugin/authg2fa/
H A DGoogleAuthenticator.php28 $secret = '';
32 return $secret;
38 * @param string $secret
73 * @param string $secret
84 * @param string $secret
123 if (empty($secret)) return '';
135 $secret = str_replace('=','', $secret);
136 $secret = str_split($secret);
155 * @param string $secret
161 if (empty($secret)) return '';
[all …]
H A 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'…
H A Dauth.php23 $secret = $th->getSecret($user);
24 if($secret != "") {
25 define('GOOGLE_AUTH_SECRET', $secret);
53 $checkResult = $ga->verifyCode($secret, $twofa, $tslack);
H A Dadmin.php127 $secret = $this->_tokens[$user];
129 $secret = "";
131 ptln('<td>'.$secret.'</td>');
135 if($secret != "") {
/plugin/crypto/
H A Daction.php71 function crypto_encrypt($data, $secret) { argument
73 $data = PMA_blowfish_encrypt($data, $secret);
78 function crypto_decrypt($data, $secret) { argument
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);
114 if (strpos($result, $secret) === 0) {
[all …]
/plugin/authfacebook/lib/
H A 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/
H A 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)});
52 var createHash = function(secret) { argument
53 var cipher = crypto.createCipher('blowfish', secret);
H A Dmaster.js14 secret: multiplex.secret, property in post.messageData
/plugin/recaptcha2/lib/ReCaptcha/
H A 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);
H A 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/openid/Auth/OpenID/
H A 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 …]
H A DPostgreSQLStore.php78 function _set_assoc($server_url, $handle, $secret, $issued, $lifetime, argument
85 array($secret, $issued, $lifetime,
91 array($server_url, $handle, $secret,
H A DDiffieHellman.php98 function xorSecret($composite, $secret, $hash_func) argument
105 for ($i = 0; $i < Auth_OpenID::bytes($secret); $i++) {
106 $xsecret .= chr(ord($secret[$i]) ^ ord($hash_dh_shared[$i]));
/plugin/fedauth/Auth/OpenID/
H A 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 …]
H A DPostgreSQLStore.php78 function _set_assoc($server_url, $handle, $secret, $issued, $lifetime, argument
85 array($secret, $issued, $lifetime,
91 array($server_url, $handle, $secret,
H A DDiffieHellman.php98 function xorSecret($composite, $secret, $hash_func) argument
105 for ($i = 0; $i < Auth_OpenID::bytes($secret); $i++) {
106 $xsecret .= chr(ord($secret[$i]) ^ ord($hash_dh_shared[$i]));
/plugin/swarmwebhook/
H A Dadmin.php19 $secret = $this->getConf('hook_secret');
20 if (empty($secret)) {
45 $secret = $this->getConf('hook_secret');
50 $html = str_replace('$secret', hsc($secret), $html);
/plugin/siteexport/inc/
H A Dhttpproxy.php99 $secret = auth_cookiesalt(!$sticky, true); //bind non-sticky to session
100 $this->pass = !empty($this->pass) ? $this->auth_decrypt($this->pass, $secret) : '';
109 private function auth_decrypt($pass, $secret) { argument
113 return auth_decrypt($pass, $secret);
116 return PMA_blowfish_decrypt($pass, $secret);
/plugin/autotweet/
H A DOAuth.php12 public $secret; variable in OAuthConsumer
14 function __construct($key, $secret, $callback_url=NULL) { argument
16 $this->secret = $secret;
28 public $secret; variable in OAuthToken
34 function __construct($key, $secret) { argument
36 $this->secret = $secret;
47 OAuthUtil::urlencode_rfc3986($this->secret);
109 $consumer->secret,
110 ($token) ? $token->secret : ""
141 $consumer->secret,
[all …]
/plugin/swarmwebhook/lang/en/
H A Difttt_instructions.txt14 "secret": "$secret"
/plugin/captcha/
H A Dhelper.php59 $secret = $this->encrypt($rand);
65 … $out .= '<input type="hidden" name="' . $this->field_sec . '" value="' . hsc($secret) . '" />';
85 …f="' . DOKU_BASE . 'lib/plugins/captcha/wav.php?secret=' . rawurlencode($secret) . '&amp;id=' . $I…
91 …c="' . DOKU_BASE . 'lib/plugins/captcha/img.php?secret=' . rawurlencode($secret) . '&amp;id=' . $I…
95 …c="' . DOKU_BASE . 'lib/plugins/captcha/img.php?secret=' . rawurlencode($secret) . '&amp;id=' . $I…
97 …f="' . DOKU_BASE . 'lib/plugins/captcha/wav.php?secret=' . rawurlencode($secret) . '&amp;id=' . $I…

1234