Exemplo n.º 1
0
 /**
  * Returns all params that were received, be it from the request
  * (as GET or POST) or through the URL by the route
  * @deprecated 7.0.0 use $this->request instead
  * @return array the array with all parameters
  * @since 6.0.0
  */
 public function getParams()
 {
     return $this->request->getParams();
 }
Exemplo n.º 2
0
 /**
  * Shows an authentication form
  *
  * @return TemplateResponse
  */
 private function sendHtml401()
 {
     $params = $this->request->getParams();
     $this->logger->debug('[CheckException] Unauthorised Request params: {params}', ['params' => $params]);
     return new TemplateResponse($this->appName, 'authenticate', $params, 'guest');
 }