Bitrix API

Auth

Table of Contents

Constants

AUTH_CODE_GUEST  = 'guest'
AUTH_ID_PARAM  = 'call_auth_id'
AUTH_TYPE  = 'call'
METHODS_WITH_AUTH  = [ 'mobile.browser.const.get', 'im.user.get', 'im.dialog.users.list', // pull 'server.time', 'pull.config.get', 'pull.watch.extend', // im 'im.chat.get', 'im.message.add', 'im.message.update', 'im.message.delete', 'im.message.like', 'im.dialog.writing', 'im.dialog.messages.get', 'im.dialog.read', 'im.disk.folder.get', 'im.disk.file.commit', 'im.user.list.get', 'im.call.create', 'im.call.invite', 'im.call.answer', 'im.call.ping', 'im.call.channel.public.list', 'im.call.hangup', 'im.call.decline', 'im.call.getusers', 'im.call.get', 'im.call.tryjoincall', 'local.call.log', 'smile.get', // disk 'disk.folder.uploadfile', // user 'im.call.user.update', //voximplant 'voximplant.authorization.get', 'voximplant.authorization.onerror', 'voximplant.authorization.signonetimekey', ]
METHODS_WITHOUT_AUTH  = ['im.call.user.register', 'im.videoconf.password.check', 'server.time', 'pull.config.get', 'pull.watch.extend']
PASSWORD_CHECK_METHOD  = 'im.videoconf.password.check'

Methods

authorizeById()  : mixed
onRestCheckAuth()  : mixed

Constants

AUTH_CODE_GUEST

public mixed AUTH_CODE_GUEST = 'guest'

AUTH_ID_PARAM

public mixed AUTH_ID_PARAM = 'call_auth_id'

AUTH_TYPE

public mixed AUTH_TYPE = 'call'

METHODS_WITH_AUTH

public mixed METHODS_WITH_AUTH = [ 'mobile.browser.const.get', 'im.user.get', 'im.dialog.users.list', // pull 'server.time', 'pull.config.get', 'pull.watch.extend', // im 'im.chat.get', 'im.message.add', 'im.message.update', 'im.message.delete', 'im.message.like', 'im.dialog.writing', 'im.dialog.messages.get', 'im.dialog.read', 'im.disk.folder.get', 'im.disk.file.commit', 'im.user.list.get', 'im.call.create', 'im.call.invite', 'im.call.answer', 'im.call.ping', 'im.call.channel.public.list', 'im.call.hangup', 'im.call.decline', 'im.call.getusers', 'im.call.get', 'im.call.tryjoincall', 'local.call.log', 'smile.get', // disk 'disk.folder.uploadfile', // user 'im.call.user.update', //voximplant 'voximplant.authorization.get', 'voximplant.authorization.onerror', 'voximplant.authorization.signonetimekey', ]

METHODS_WITHOUT_AUTH

public mixed METHODS_WITHOUT_AUTH = ['im.call.user.register', 'im.videoconf.password.check', 'server.time', 'pull.config.get', 'pull.watch.extend']

PASSWORD_CHECK_METHOD

public mixed PASSWORD_CHECK_METHOD = 'im.videoconf.password.check'

Methods

authorizeById()

public static authorizeById(mixed $userId[, mixed $setCookie = null ][, mixed $skipAuthorizeCheck = false ]) : mixed
Parameters
$userId : mixed
$setCookie : mixed = null
$skipAuthorizeCheck : mixed = false

onRestCheckAuth()

public static onRestCheckAuth(array<string|int, mixed> $query, mixed $scope, mixed &$res) : mixed
Parameters
$query : array<string|int, mixed>
$scope : mixed
$res : mixed

        
On this page

Search results