Documentation

syncParameters

\Bitrix\Security\Mfa\Otp public
\Bitrix\Security\Mfa\Otp::syncParameters(
 string $inputA,
 string|null $inputB = null
);

Non-static method synchronizes user parameters for input. Can be used after generating and before saving. When something incorrect, prints OtpException with correct description in the message.

Parameters

ParameterDescriptionVersion
$inputAFirst code.
$inputBSecond code.

Exceptions

  • \Bitrix\Security\Mfa\OtpException

Example



© «Bitrix24», 2001-2024