Example #1
0
        public void Install(string password, string packageId, string version, bool ignoreDependencies, bool allowPrereleaseVersions)
        {
            if (!_authenticationManager.IsValid(_configuration.UserName, password))
            {
                throw new JsonRpcException(9999, "Invalid username/password.");
            }

            _pluginEngine.Install(packageId, version, ignoreDependencies, allowPrereleaseVersions);
        }