verify
array public \Bitrix\Security\Mfa\HotpAlgorithm::verify( string $input, integer|string $params );
Non-static method confirms inputted data.
Parameters
Parameter | Description | Version |
---|---|---|
$input | Inputted user data. | |
$params | Synchronized user parameters, saved for algorithm (see. getSyncParameters - \Bitrix\Security\Mfa\HotpAlgorithm::getSyncParameters ). |
Exceptions
- ArgumentOutOfRangeException (
Bitrix\Main\ArgumentOutOfRangeException
)
Example
© «Bitrix24», 2001-2024