|
1C-Bitrix 25.700.0
|
Открытые члены | |
| __construct () | |
| generateAccessCode (int $chatId) | |
| getNames ($codes) | |
| deleteByUser ($userId) | |
| addChatCodes (int $chatId, array $userIds) | |
| deleteChatCodes (int $chatId, ?array $userIds=null) | |
| isCodeAlreadyExists (int $chatId, int $userId) | |
| updateChatCodesByRelations (int $chatId) | |
| addUserCode (int $chatId, int $userId) | |
| removeUserCode (int $chatId, int $userId) | |
| Открытые члены унаследованные от CAuthProvider | |
| DeleteByUser ($USER_ID) | |
| DeleteAll () | |
| AddCode ($userId, $code) | |
| RemoveCode ($userId, $code) | |
Открытые статические члены | |
| static | getProviders () |
Защищенные данные | |
| const | PROVIDER_ID = 'imchat' |
| const | ACCESS_CODE_PREFIX = 'CHAT' |
| Защищенные данные унаследованные от CAuthProvider | |
| $id | |
Auth provider.
RegisterModuleDependences("main", "OnAuthProvidersBuildList", "im", "\\Bitrix\\Im\\Access\\ChatAuthProvider", "getProviders");
См. определение в файле chatauthprovider.php строка 17
| __construct | ( | ) |
См. определение в файле chatauthprovider.php строка 22
| addChatCodes | ( | int | $chatId, |
| array | $userIds ) |
Add chat's access code for specific users.
| int | $chatId | |
| int[] | $userIds |
См. определение в файле chatauthprovider.php строка 133
| addUserCode | ( | int | $chatId, |
| int | $userId ) |
Adds user's access code to chat.
| int | $chatId | |
| int | $userId |
См. определение в файле chatauthprovider.php строка 297
| deleteByUser | ( | $userId | ) |
Removes user's access codes.
| int | $userId |
См. определение в файле chatauthprovider.php строка 109
| deleteChatCodes | ( | int | $chatId, |
| ?array | $userIds = null ) |
Removes chat's access code.
| int | $chatId | |
| int[] | $userIds | For specific users. |
См. определение в файле chatauthprovider.php строка 169
| generateAccessCode | ( | int | $chatId | ) |
Generates access code for chat. Ex: 'CHAT888'.
| int | $chatId |
См. определение в файле chatauthprovider.php строка 50
| getNames | ( | $codes | ) |
Returns restricted object names.
| string[] | $codes |
См. определение в файле chatauthprovider.php строка 64
|
static |
Event handler for main::OnAuthProvidersBuildList event.
См. определение в файле chatauthprovider.php строка 32
| isCodeAlreadyExists | ( | int | $chatId, |
| int | $userId ) |
См. определение в файле chatauthprovider.php строка 217
| removeUserCode | ( | int | $chatId, |
| int | $userId ) |
Adds user's access code to chat.
| int | $chatId | |
| int | $userId |
См. определение в файле chatauthprovider.php строка 309
| updateChatCodesByRelations | ( | int | $chatId | ) |
Updates chat's access codes.
| int | $chatId |
См. определение в файле chatauthprovider.php строка 237
|
protected |
См. определение в файле chatauthprovider.php строка 20
|
protected |
См. определение в файле chatauthprovider.php строка 19