Home
last modified time | relevance | path

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

/plugin/authgoogle2fa/
H A DGoogleAuthenticator.php14 protected $_codeLength = 6; variable in PHPGangsta_GoogleAuthenticator
65 $modulo = pow(10, $this->_codeLength);
66 return str_pad($value % $modulo, $this->_codeLength, '0', STR_PAD_LEFT);
111 $this->_codeLength = $length;
/plugin/authg2fa/
H A DGoogleAuthenticator.php14 protected $_codeLength = 6; variable in PHPGangsta_GoogleAuthenticator
65 $modulo = pow(10, $this->_codeLength);
66 return str_pad($value % $modulo, $this->_codeLength, '0', STR_PAD_LEFT);
111 $this->_codeLength = $length;
/plugin/twofactor/
H A DGoogleAuthenticator.php19 protected $_codeLength = 6; variable in dokuwiki\\plugin\\twofactor\\GoogleAuthenticator
92 $modulo = pow(10, $this->_codeLength);
94 return str_pad($value % $modulo, $this->_codeLength, '0', STR_PAD_LEFT);
160 $this->_codeLength = $length;