public function buildAuth(Query $query)
    {
        $auth = $this->db->getAuth();
        if (isset($auth['headerToken'])) {
            $this->authHeaders['Authorization'] = 'token ' . $auth['headerToken'];
        }
        if (isset($auth['headerBearer'])) {
            $this->authHeaders['Authorization'] = 'Bearer ' . $auth['headerBearer'];
        }
    }