|
1C-Bitrix 25.700.0
|
Открытые статические члены | |
| static | getTableName () |
| static | getMap () |
| static | clearByUser ($userId) |
| static | regenerateCodes ($userId) |
| static | useCode ($userId, $searchCode) |
Поля данных | |
| const | CODES_PER_USER = 10 |
| const | CODE_PATTERN = '#^[a-z0-9]{4}-[a-z0-9]{4}$#D' |
Class RecoveryCodesTable
DO NOT WRITE ANYTHING BELOW THIS
<<< ORMENTITYANNOTATION @method static EO_RecoveryCodes_Query query() @method static EO_RecoveryCodes_Result getByPrimary($primary, array $parameters = []) @method static EO_RecoveryCodes_Result getById($id) @method static EO_RecoveryCodes_Result getList(array $parameters = []) @method static EO_RecoveryCodes_Entity getEntity() @method static \Bitrix\Security\Mfa\EO_RecoveryCodes createObject($setDefaultValues = true) @method static \Bitrix\Security\Mfa\EO_RecoveryCodes_Collection createCollection() @method static \Bitrix\Security\Mfa\EO_RecoveryCodes wakeUpObject($row) @method static \Bitrix\Security\Mfa\EO_RecoveryCodes_Collection wakeUpCollection($rows)
См. определение в файле recoverycodes.php строка 39
|
static |
Clear all saved recovery codes for provided user
| int | $userId | Needed user id. |
| ArgumentTypeException | |
Bitrix\Main\ArgumentException
См. определение в файле recoverycodes.php строка 97
|
static |
|
static |
|
static |
Generate new recovery codes for provided user Previously generated codes will be removed
| int | $userId | Needed user id. |
| ArgumentTypeException |
См. определение в файле recoverycodes.php строка 124
|
static |
Use recovery code for user
| int | $userId | Needed user id. |
| string | $searchCode | Recovery code in accepted format (see RecoveryCodesTable::CODE_PATTERN). |
| ArgumentTypeException | |
Bitrix\Main\ArgumentException
См. определение в файле recoverycodes.php строка 157
| const CODE_PATTERN = '#^[a-z0-9]{4}-[a-z0-9]{4}$#D' |
См. определение в файле recoverycodes.php строка 43
| const CODES_PER_USER = 10 |
См. определение в файле recoverycodes.php строка 42