# RecoveryCodesTable

URL: https://chugunov.pro/api-bitrix/security/mfa/recoverycodestable/
Проверено на 1С-Битрикс 25.x, обновлено 03.08.2026.
Источник: независимый русскоязычный справочник chugunov.pro. Не является официальной документацией 1С-Битрикс.

Класс `\Bitrix\Security\Mfa\RecoveryCodesTable`
Модуль: Security.

## Описание

НИЧЕГО НЕ ПИШИТЕ НИЖЕ ЭТОЙ СТРОКИ

Исходный файл: `source/security/lib/mfa/recoverycodes.php:39`

## Константы (2)

- `CODE_PATTERN`
- `CODES_PER_USER`

## Методы (14)

- [`static clearByUser()`](https://chugunov.pro/api-bitrix/security/mfa/recoverycodestable/clearbyuser/) — Очищает все сохранённые коды восстановления для указанного пользователя
- [`static createCollection()`](https://chugunov.pro/api-bitrix/security/mfa/recoverycodestable/createcollection/)
- [`static createObject()`](https://chugunov.pro/api-bitrix/security/mfa/recoverycodestable/createobject/)
- [`static getById()`](https://chugunov.pro/api-bitrix/security/mfa/recoverycodestable/getbyid/)
- [`static getByPrimary()`](https://chugunov.pro/api-bitrix/security/mfa/recoverycodestable/getbyprimary/)
- [`static getEntity()`](https://chugunov.pro/api-bitrix/security/mfa/recoverycodestable/getentity/)
- [`static getList()`](https://chugunov.pro/api-bitrix/security/mfa/recoverycodestable/getlist/)
- [`static getMap()`](https://chugunov.pro/api-bitrix/security/mfa/recoverycodestable/getmap/) — {@inheritdoc}
- [`static getTableName()`](https://chugunov.pro/api-bitrix/security/mfa/recoverycodestable/gettablename/) — {@inheritdoc}
- [`static query()`](https://chugunov.pro/api-bitrix/security/mfa/recoverycodestable/query/)
- [`static regenerateCodes()`](https://chugunov.pro/api-bitrix/security/mfa/recoverycodestable/regeneratecodes/) — Генерирует новые коды восстановления для указанного пользователя. Ранее сгенерированные коды будут удалены
- [`static useCode()`](https://chugunov.pro/api-bitrix/security/mfa/recoverycodestable/usecode/) — Использует код восстановления для пользователя
- [`static wakeUpCollection()`](https://chugunov.pro/api-bitrix/security/mfa/recoverycodestable/wakeupcollection/)
- [`static wakeUpObject()`](https://chugunov.pro/api-bitrix/security/mfa/recoverycodestable/wakeupobject/)

Оригинал в официальной документации: https://docs.1c-bitrix.ru/api/classes/Bitrix-Security-Mfa-RecoveryCodesTable.html
