Home
last modified time | relevance | path

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

123456

/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 …]
/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'…
/plugin/twofactor/
H A DGoogleAuthenticator.php22 * Create new secret.
34 // Valid secret lengths are 80 to 640 bits
36 throw new \Exception('Bad secret length');
38 $secret = '';
52 $secret .= $validChars[ord($rnd[$i]) & 31];
58 return $secret;
62 * Calculate the code, with given secret and point in time.
64 * @param string $secret
69 public function getCode($secret, $timeSlice = null) argument
75 $secretkey = $this->_base32Decode($secret);
107 getQRCodeGoogleUrl($name, $secret, $title = null, $params = array()) global() argument
131 verifyCode($secret, $code, $discrepancy = 1, $currentTimeSlice = null) global() argument
172 _base32Decode($secret) global() argument
[all...]
H A DProvider.php138 * Create and store a new secret for this provider
140 * @return string the new secret
146 $secret = $ga->createSecret();
148 $this->settings->set('secret', $secret);
149 return $secret;
153 * Get the secret for this provider
159 return $this->settings->get('secret');
170 $secret = $this->settings->get('secret');
[all...]
/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);
/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/authgooglesheets/vendor/google/apiclient-services/src/SASPortalTesting/
H A DSasPortalGenerateSecretResponse.php25 public $secret; variable in Google\\Service\\SASPortalTesting\\SasPortalGenerateSecretResponse
30 public function setSecret($secret) argument
32 $this->secret = $secret;
39 return $this->secret;
H A 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/Sasportal/
H A DSasPortalGenerateSecretResponse.php25 public $secret; variable in Google\\Service\\Sasportal\\SasPortalGenerateSecretResponse
30 public function setSecret($secret) argument
32 $this->secret = $secret;
39 return $this->secret;
H A 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/CloudRun/
H A DGoogleCloudRunOpV2SecretKeySelector.php25 public $secret; variable in Google\\Service\\CloudRun\\GoogleCloudRunOpV2SecretKeySelector
34 public function setSecret($secret) argument
36 $this->secret = $secret;
43 return $this->secret;
H A DGoogleCloudRunV2SecretKeySelector.php25 public $secret; variable in Google\\Service\\CloudRun\\GoogleCloudRunV2SecretKeySelector
34 public function setSecret($secret) argument
36 $this->secret = $secret;
43 return $this->secret;
H A DGoogleCloudRunV2SecretVolumeSource.php32 public $secret; variable in Google\\Service\\CloudRun\\GoogleCloudRunV2SecretVolumeSource
65 public function setSecret($secret) argument
67 $this->secret = $secret;
74 return $this->secret;
H A DGoogleCloudRunOpV2SecretVolumeSource.php32 public $secret; variable in Google\\Service\\CloudRun\\GoogleCloudRunOpV2SecretVolumeSource
65 public function setSecret($secret) argument
67 $this->secret = $secret;
74 return $this->secret;
/plugin/authgooglesheets/vendor/google/apiclient-services/src/CloudBuild/
H A 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/
H A 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/authgooglesheets/vendor/google/apiclient-services/src/Storage/
H A 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/authgooglesheets/vendor/google/apiclient-services/src/CloudFunctions/
H A DSecretEnvVar.php33 public $secret; variable in Google\\Service\\CloudFunctions\\SecretEnvVar
70 public function setSecret($secret) argument
72 $this->secret = $secret;
79 return $this->secret;
H A DSecretVolume.php34 public $secret; variable in Google\\Service\\CloudFunctions\\SecretVolume
69 public function setSecret($secret) argument
71 $this->secret = $secret;
78 return $this->secret;
/plugin/openid/Auth/OpenID/
H A DAssociation.php86 * @param string $secret This is the shared secret the server
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);
253 $handle, $secret, $issued, $lifetime, $assoc_type);
[all …]
/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 …]

123456