getBasicResponse() public method

Sends a response when HTTP basic authentication fails.
public getBasicResponse ( ) : mixed
return mixed
Beispiel #1
0
 /**
  * Sends a response when HTTP basic authentication fails.
  *
  * @return mixed
  * @throws \RuntimeException
  */
 public function getBasicResponse()
 {
     return $this->sentinel->getBasicResponse();
 }
 /**
  * Sends a response when HTTP basic authentication fails.
  *
  * @return mixed 
  * @throws \RuntimeException
  * @static 
  */
 public static function getBasicResponse()
 {
     return \Cartalyst\Sentinel\Sentinel::getBasicResponse();
 }