Documentation

SubscribeAccessTable

SubscribeAccessTable class for handling table with authentication data for subscribers on products without user registration.

Class methods

MethodDescription Available from version
clearOldRowsDeletes data entries from table with expired access permission validity periods.
getMapReturns list of fields for table with authentication data for subscribers on products without user registration.
getTableNameReturns name for table with authentication data for subscribers on products without user registration.
validateTokenReturns validator for the field TOKEN.

Fields for table with user authentication data

Field Description Type Required
ID Entry code. Int Yes
DATE_FROM Date and time for received access code. DatetimeYes
USER_CONTACTUser contact.Varchar(255)Yes
TOKENAccess code.Char(6)Yes


© «Bitrix24», 2001-2022
Up