コード例 #1
0
 /**
  * Returns the real OPAuth object
  *
  * @return \Opauth
  */
 public function getOpauth()
 {
     if ($this->opauth === NULL) {
         $this->workarounds();
         $configuration = $this->configuration->getConfiguration();
         $this->opauth = new \Opauth($configuration, FALSE);
     }
     return $this->opauth;
 }
コード例 #2
0
 /**
  * @param string $strategy
  * @return string
  */
 public function render($strategy = '')
 {
     $opauthSettings = $this->opauthConfiguration->getConfiguration();
     $uri = $opauthSettings['path'] . $strategy;
     return $uri;
 }