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
Parameter | Description | Version |
---|---|---|
$inputA | First code. | |
$inputB | Second code. |
Exceptions
\Bitrix\Security\Mfa\OtpException
Example
© «Bitrix24», 2001-2024