Documentation

activate

\Bitrix\Security\Mfa\Otp public
\Bitrix\Security\Mfa\Otp::activate(
);

Non-static method activates OTP for user. OTP must be initialized (secret, parameters and etc.) before activation.

No parameters

Exception

  • \Bitrix\Security\Mfa\OtpException

Example



© «Bitrix24», 2001-2024
Up