Documentation

getByType

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

Static method returns new instance with the required OTP algorithm.

Parameters

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

Exceptions

Example



© «Bitrix24», 2001-2024
Up