method public static Otp::getByType() Класс: \Bitrix\Security\Mfa\Otp Сигнатура public static getByType(string $type) : static Описание Возвращает новый экземпляр с требуемым типом OtpAlgorithm Параметры $type string Тип OtpAlgorithm (см. getAvailableTypes). Возвращаемое значение static Исходный файл: source/security/lib/mfa/otp.php:130