Documentation

setType

\Bitrix\Security\Mfa\Otp public
\Bitrix\Security\Mfa\Otp::setType(
 string $type
);

Non-static method sets a new type of OTP algorithm.

Parameters

ParameterDescriptionVersion
$typeAlgorithm type (see. getAvailableTypes - \Bitrix\Security\Mfa\Otp::getAvailableTypes).

Exceptions

Example



© «Bitrix24», 2001-2024
Up