Home
last modified time | relevance | path

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

/plugin/authgoogle2fa/
H A DGoogleAuthenticator.php39 * @param int|null $timeSlice
42 public function getCode($secret, $timeSlice = null) argument
44 if ($timeSlice === null) {
45 $timeSlice = floor(time() / 30);
51 $time = chr(0).chr(0).chr(0).chr(0).pack('N*', $timeSlice);
/plugin/authg2fa/
H A DGoogleAuthenticator.php39 * @param int|null $timeSlice
42 public function getCode($secret, $timeSlice = null) argument
44 if ($timeSlice === null) {
45 $timeSlice = floor(time() / 30);
51 $time = chr(0).chr(0).chr(0).chr(0).pack('N*', $timeSlice);
/plugin/twofactor/
H A DGoogleAuthenticator.php65 * @param int|null $timeSlice
69 public function getCode($secret, $timeSlice = null) argument
71 if ($timeSlice === null) {
72 $timeSlice = floor(time() / 30);
78 $time = chr(0).chr(0).chr(0).chr(0).pack('N*', $timeSlice);