UserTable
Class for handling user OTP table.
Method | Description | Available from version |
---|---|---|
getMap | Returns list of fields with types. | |
getTableName | Returns database table name for an entity. | |
onAfterDelete | Clears recovery codes after deleting a user. |
User OTP table.
Field | Description | Type | Required |
---|---|---|---|
USER_ID | User ID. | int | Y |
ACTIVE | Active status. | char(1) | N |
SECRET | User token. | varchar(64) | N |
TYPE | OTP type. | varchar(16) | N |
PARAMS | User parameters. | text | N |
ATTEMPTS | Attempts counter. | int | N |
INITIAL_DATE | OTP initialization date. | datetime | N |
SCIP_MANDATORY | Skip ОТР mandatory status. | char(1) | N |
DEACTIVATE_UNTIL | Deactivated until the date. | datetime | N |
© «Bitrix24», 2001-2024