verify
boolean public \Bitrix\Security\Mfa\Otp::verify( string $input, boolean $updateParams = true );
Non-static method confirms user-inputted data.
Parameters
Parameter | Description | Version |
---|---|---|
$input | User inputted-data. | |
$updateParams | Update user data in the database (for example, counter for HotpAlgorithm - \Bitrix\Security\Mfa\HotpAlgorithm ). |
Example
© «Bitrix24», 2001-2024