1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс QrCodeAuth
Граф наследования:QrCodeAuth:
Controller Errorable Controllerable

Открытые члены

 isAllowed ()
 pushTokenAction (string $siteId, string $uniqueId, string $channelTag, string $redirectUrl='')
 authenticateAction ($token, bool $remember=false)
 pushToken (string $siteId, string $uniqueId, string $channelTag, string $redirectUrl='', ?string $currentUrl=null)
 configureActions ()
Открытые члены унаследованные от Controller
 __construct (Request $request=null)
 forward ($controller, string $actionName, array $parameters=null)
 getConfigurationOfActions ()
 getModuleId ()
 isLocatedUnderPsr4 ()
 getActionUri (string $actionName, array $params=[], bool $absolute=false)
 getUnsignedParameters ()
 getCurrentUser ()
 setCurrentUser (CurrentUser $currentUser)
 convertKeysToCamelCase ($data)
 listNameActions ()
 getAutoWiredParameters ()
 getPrimaryAutoWiredParameter ()
 getDefaultAutoWiredParameters ()
 getRequest ()
 getScope ()
 setScope ($scope)
 getSourceParametersList ()
 setSourceParametersList ($sourceParametersList)
 run ($actionName, array $sourceParametersList)
 finalizeResponse (Response $response)
 generateActionMethodName ($action)
 redirectTo ($url)
 getErrors ()
 hasErrors ()
 getErrorByCode ($code)

Открытые статические члены

static getUniqueId ()
Открытые статические члены унаследованные от Controller
static className ()
static getFullEventName ($eventName)

Дополнительные унаследованные члены

Поля данных унаследованные от Controller
const SCOPE_REST = 'rest'
const SCOPE_AJAX = 'ajax'
const SCOPE_CLI = 'cli'
const EVENT_ON_BEFORE_ACTION = 'onBeforeAction'
const EVENT_ON_AFTER_ACTION = 'onAfterAction'
const ERROR_REQUIRED_PARAMETER = 'MAIN_CONTROLLER_22001'
const ERROR_UNKNOWN_ACTION = 'MAIN_CONTROLLER_22002'
const EXCEPTION_UNKNOWN_ACTION = 22002
Поля данных унаследованные от Controllerable
const METHOD_ACTION_SUFFIX = 'Action'
Защищенные члены унаследованные от Controller
 init ()
 getFilePath ()
 processUnsignedParameters ()
 getSaltToUnsign ()
 getActionResponse (Action $action)
 writeToLogException (\Throwable $e)
 collectDebugInfo ()
 logDebugInfo ()
 prepareParams ()
 processBeforeAction (Action $action)
 triggerOnBeforeAction (Action $action)
 processAfterAction (Action $action, $result)
 triggerOnAfterAction (Action $action, $result)
 create ($actionName)
 buildActionInstance ($actionName, array $config)
 existsAction ($actionName)
 getDefaultPreFilters ()
 getDefaultPostFilters ()
 buildFilters (array $config=null)
 appendFilters (array $filters, array $filtersToAppend)
 removeFilters (array $filters, array $filtersToRemove)
 detachFilters (Action $action)
 detachPreFilters (Action $action)
 detachPostFilters (Action $action)
 getActionConfig ($actionName)
 setActionConfig ($actionName, array $config=null)
 runProcessingThrowable (\Throwable $throwable)
 runProcessingException (\Exception $e)
 runProcessingError (\Error $error)
 runProcessingBinderThrowable (BinderArgumentException $e)
 runProcessingValidationException (ValidationException $e)
 buildErrorFromException (\Exception $e)
 buildErrorFromPhpError (\Error $error)
 runProcessingIfUserNotAuthorized ()
 runProcessingIfInvalidCsrfToken ()
 addError (Error $error)
 addErrors (array $errors)
 renderComponent (string $name, string $template='', array $params=[], bool $withSiteTemplate=true)
 renderView (string $viewPath, array $params=[], bool $withSiteTemplate=true)
 renderExtension (string $extension, array $params=[], bool $withSiteTemplate=true)
Защищенные данные унаследованные от Controller
 $errorCollection
 $request
Configurator $configurator

Подробное описание

См. определение в файле qrcodeauth.php строка 17

Методы

◆ authenticateAction()

authenticateAction ( $token,
bool $remember = false )

См. определение в файле qrcodeauth.php строка 41

◆ configureActions()

configureActions ( )
Возвращает
array

Переопределяет метод предка Controller.

См. определение в файле qrcodeauth.php строка 161

◆ getUniqueId()

getUniqueId ( )
static

См. определение в файле qrcodeauth.php строка 148

◆ isAllowed()

isAllowed ( )

См. определение в файле qrcodeauth.php строка 19

◆ pushToken()

pushToken ( string $siteId,
string $uniqueId,
string $channelTag,
string $redirectUrl = '',
?string $currentUrl = null )

Adds a token and sends a message to p&p.

Аргументы
string$siteId
string$uniqueId
string$channelTag
string$redirectUrl
string | null$currentUrl
Возвращает
bool|null

См. определение в файле qrcodeauth.php строка 71

◆ pushTokenAction()

pushTokenAction ( string $siteId,
string $uniqueId,
string $channelTag,
string $redirectUrl = '' )

См. определение в файле qrcodeauth.php строка 36


Объявления и описания членов класса находятся в файле: