/** * 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; }
/** * @param string $strategy * @return string */ public function render($strategy = '') { $opauthSettings = $this->opauthConfiguration->getConfiguration(); $uri = $opauthSettings['path'] . $strategy; return $uri; }