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; }
/** * 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); }
public function routeFromHere($params) { return \DF\Url::routeFromHere($params, $this->di); }