method
public
ShortCode::__construct()
Сигнатура
public __construct(Context $context[, string $type = \Bitrix\Main\Authentication\Internal\UserAuthCodeTable::TYPE_EMAIL ]) : mixed
Описание
Конструктор ShortCode.
Параметры
$context
Context
Содержит userId
$type
string
= \Bitrix\Main\Authentication\Internal\UserAuthCodeTable::TYPE_EMAIL
В настоящее время только 'email'
Возвращаемое значение
mixed
Исходный файл: source/main/lib/authentication/shortcode.php:30

