Documentation

verify

array public
\Bitrix\Security\Mfa\HotpAlgorithm::verify(
 string $input,
 integer|string $params
);

Non-static method confirms inputted data.

Parameters

ParameterDescriptionVersion
$inputInputted user data.
$paramsSynchronized user parameters, saved for algorithm (see. getSyncParameters - \Bitrix\Security\Mfa\HotpAlgorithm::getSyncParameters).

Exceptions

Example



© «Bitrix24», 2001-2024