Home
last modified time | relevance | path

Searched refs:currentTimeSlice (Results 1 – 3 of 3) sorted by relevance

/plugin/twofactor/
DGoogleAuthenticator.php127 * @param int|null $currentTimeSlice time slice if we want use other that time()
131 public function verifyCode($secret, $code, $discrepancy = 1, $currentTimeSlice = null) argument
133 if ($currentTimeSlice === null) {
134 $currentTimeSlice = floor(time() / 30);
142 $calculatedCode = $this->getCode($secret, $currentTimeSlice + $i);
/plugin/authg2fa/
DGoogleAuthenticator.php91 $currentTimeSlice = floor(time() / 30);
94 $calculatedCode = $this->getCode($secret, $currentTimeSlice + $i);
/plugin/authgoogle2fa/
DGoogleAuthenticator.php91 $currentTimeSlice = floor(time() / 30);
94 $calculatedCode = $this->getCode($secret, $currentTimeSlice + $i);