53 parent::__construct($context);
85 $requestUrl = $this->helper->getRequestUrl($this->
getRequest());
91 $consumer = $this->intOauthService->loadConsumerByKey(
$request[
'oauth_consumer_key']);
92 $integration = $this->integrationService->findByConsumerId($consumer->getId());
93 $integration->setStatus(IntegrationModel::STATUS_ACTIVE);
95 }
catch (\Exception $exception) {
validateForCsrf(RequestInterface $request)
createCsrfValidationException(RequestInterface $request)
__construct(\Magento\Framework\App\Action\Context $context, \Magento\Framework\Oauth\OauthInterface $oauthService, IntegrationOauthService $intOauthService, IntegrationService $integrationService, \Magento\Framework\Oauth\Helper\Request $helper)