protected function _getHybridConfig()
 {
     // Force "scheme" injection for base URLs.
     $ha_config = $this->config->apis->hybrid_auth->toArray();
     $ha_config['base_url'] = \DF\Url::addSchemePrefix(\DF\Url::routeFromHere(array('action' => 'hybrid')));
     return $ha_config;
 }
Exemple #2
0
 /**
  * Redirect with parameters from the current URL.
  *
  * @param $url_params
  * @param int $code
  */
 public function redirectFromHere($route, $code = 302)
 {
     $this->doNotRender();
     return $this->response->redirect(Url::routeFromHere($route, $this->di), $code);
 }
Exemple #3
0
 public function routeFromHere($params)
 {
     return \DF\Url::routeFromHere($params, $this->di);
 }