protected function parseAuth(array $auth) { return array("username" => $auth[0], "api_key" => $auth[1]); }