Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Plaintext.php
Go to the documentation of this file.
1 <?php
23 #require_once 'Zend/Oauth/Signature/SignatureAbstract.php';
24 
32 {
41  public function sign(array $params, $method = null, $url = null)
42  {
43  if ($this->_tokenSecret === null) {
44  return $this->_consumerSecret . '&';
45  }
46  $return = implode('&', array($this->_consumerSecret, $this->_tokenSecret));
47  return $return;
48  }
49 }
$method
Definition: info.phtml:13
$params[\Magento\Store\Model\StoreManager::PARAM_RUN_CODE]
Definition: website.php:18
sign(array $params, $method=null, $url=null)
Definition: Plaintext.php:41