Documentation

verify

boolean public
\Bitrix\Security\Mfa\Otp::verify(
 string $input,
 boolean $updateParams = true
);

Non-static method confirms user-inputted data.

Parameters

ParameterDescriptionVersion
$inputUser inputted-data.
$updateParamsUpdate user data in the database (for example, counter for HotpAlgorithm - \Bitrix\Security\Mfa\HotpAlgorithm).

Example



© «Bitrix24», 2001-2024
Up