private function protect(Authentication $authentication, int $httpResponseCode = 403): void
    {
        if (($this->authentication = $authentication->isLogged()) === false) {
            \http_response_code($httpResponseCode);
            throw new AuthenticationException('');
        }
    }