Home
last modified time | relevance | path

Searched refs:discrepancy (Results 1 – 4 of 4) sorted by last modified time

/plugin/twofactor/
H A DGoogleAuthenticator.php122 * Check if the code is correct. This will accept codes starting from $discrepancy*30sec ago to $discrepancy*30sec from now.
126 * @param int $discrepancy This is the allowed time drift in 30 second units (8 means 4 minutes before or after)
131 public function verifyCode($secret, $code, $discrepancy = 1, $currentTimeSlice = null) argument
141 for ($i = -$discrepancy; $i <= $discrepancy; ++$i) {
/plugin/langdelete/
H A Dadmin.php124 $d->discrepancy = True;
179 if ($d->discrepancy) {
/plugin/authg2fa/
H A DGoogleAuthenticator.php86 …* @param int $discrepancy This is the allowed time drift in 30 second units (8 means 4 minutes bef…
89 public function verifyCode($secret, $code, $discrepancy = 1) argument
93 for ($i = -$discrepancy; $i <= $discrepancy; $i++) {
/plugin/authgoogle2fa/
H A DGoogleAuthenticator.php86 …* @param int $discrepancy This is the allowed time drift in 30 second units (8 means 4 minutes bef…
89 public function verifyCode($secret, $code, $discrepancy = 1) argument
93 for ($i = -$discrepancy; $i <= $discrepancy; $i++) {