Открытые члены | |
__construct (array $initParams=[]) | |
verify ($input, $params=null, $time=null) | |
generateUri ($label, array $opts=[]) | |
timecode ($timestamp) | |
setInterval ($interval) | |
setWindow ($window) | |
getSyncParameters ($inputA, $inputB) | |
Открытые члены унаследованные от OtpAlgorithm | |
verify ($input, $params=null) | |
isTwoCodeRequired () | |
setSecret ($secret) | |
getSecret () | |
generateOTP ($counter) | |
getDigest () | |
getDigits () | |
getType () | |
getAppScheme () | |
Открытые атрибуты | |
const | SYNC_WINDOW = 180 |
Защищенные члены | |
getInterval () | |
Защищенные члены унаследованные от OtpAlgorithm | |
isStringsEqual ($expected, $actual) | |
Защищенные данные | |
$interval = 30 | |
int | $startTimestamp = 0 |
$window = 2 | |
$requireTwoCode = false | |
Защищенные данные унаследованные от OtpAlgorithm | |
$digest = 'sha1' | |
$digits = 6 | |
$secret = null | |
$appScheme = 'otpauth' | |
$requireTwoCode = true | |
Статические защищенные данные | |
static | $type = 'totp' |
Статические защищенные данные унаследованные от OtpAlgorithm | |
static | $type = 'undefined' |
Дополнительные унаследованные члены | |
Защищенные статические члены унаследованные от OtpAlgorithm | |
static | toByte ($value) |
См. определение в файле totpalgorithm.php строка 12
__construct | ( | array | $initParams = [] | ) |
См. определение в файле totpalgorithm.php строка 22
generateUri | ( | $label, | |
array | $opts = [] ) |
@inheritDoc
Переопределяет метод предка OtpAlgorithm.
См. определение в файле totpalgorithm.php строка 117
|
protected |
Return used interval in counter generation
См. определение в файле totpalgorithm.php строка 151
getSyncParameters | ( | $inputA, | |
$inputB ) |
@inheritDoc
Переопределяет метод предка OtpAlgorithm.
См. определение в файле totpalgorithm.php строка 169
setInterval | ( | $interval | ) |
setWindow | ( | $window | ) |
timecode | ( | $timestamp | ) |
Make OTP counter from provided timestamp
int | $timestamp | Timestamp. |
См. определение в файле totpalgorithm.php строка 129
verify | ( | $input, | |
$params = null, | |||
$time = null ) |
@inheritDoc
См. определение в файле totpalgorithm.php строка 39
|
protected |
См. определение в файле totpalgorithm.php строка 16
|
protected |
См. определение в файле totpalgorithm.php строка 20
|
protected |
См. определение в файле totpalgorithm.php строка 17
|
staticprotected |
См. определение в файле totpalgorithm.php строка 15
|
protected |
См. определение в файле totpalgorithm.php строка 19
const SYNC_WINDOW = 180 |
См. определение в файле totpalgorithm.php строка 14