Documentation

verify

array public
\Bitrix\Security\Mfa\OtpAlgorithm::verify(
 string $input,
 string $params = null
);

Non-static method confirms inputted data.

Parameters

ParameterDescriptionVersion
$inputData retrieved from user.
$paramsSynchronized user parameters, saved for the algorithm (see. getSyncParameters - \Bitrix\Security\Mfa\OtpAlgorithm::getSyncParameters).

Example



© «Bitrix24», 2001-2024