public function getAuthParameters() { $params = parent::getAuthParameters(); $openid = null; if (sfContext::getInstance()->getRequest()->hasParameter('openid_mode')) { if ($this->getResponse()) { $openid = $this->getResponse()->getDisplayIdentifier(); } } $params['openid'] = $openid; if (empty($params['next_uri'])) { $params['next_uri'] = '@homepage'; } return $params; }
public function getAuthParameters() { $params = parent::getAuthParameters(); $params['mobile_uid'] = $this->getRequest()->getMobileUID(false); $params['mobile_cookie_uid'] = $this->getRequest()->getMobileUidCookie(); if (is_callable(array($this->getRequest(), 'getMobileFallbackUID')) && $this->getAuthConfig('allow_fallback_uid')) { $fallbacks = $this->getRequest()->getMobileFallbackUID(); if (isset($fallbacks[0])) { $params['mobile_uid_fallback_op3'] = $fallbacks[0]; } if (isset($fallbacks[1])) { $params['mobile_uid_fallback_op2'] = $fallbacks[1]; } } return $params; }