public function basic()
{
$credentials = $this->getRequestCredentials();
// We don't really want to add a throttling record for the
// first failed login attempt, which actually occurs when
// the user first hits a protected route.
if ($credentials === null) {
return $this->getBasicResponse();
}
$user = $this->stateless($credentials);
if ($user) {
return;
}
return $this->getBasicResponse();
}