Documentation

setDefaultType

void public static
\Bitrix\Security\Mfa\Otp::setDefaultType(
 string $value
);

Static method sets OTP algorithm type by default.

Parameters

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

Exceptions

Example



© «Bitrix24», 2001-2024
Up