public static function getAuth()
{
$result = null;
$user = Arr::key('PHP_AUTH_USER', $_SERVER, true);
if ($user) {
$result .= $user;
$password = Arr::key('PHP_AUTH_PW', $_SERVER, true);
if ($password) {
$result .= ':' . $password;
}
$result .= '@';
}
return $result;
}