public async Task <List <ActionResult> > ValidateDeploymentTask(DeploymentTaskValidationInfo info)
        {
            var result = await PostAsync($"managedcertificates/validatedeploymenttask", info);

            return(JsonConvert.DeserializeObject <List <ActionResult> >(await result.Content.ReadAsStringAsync()));
        }
Beispiel #2
0
 public async Task <List <ActionResult> > ValidateDeploymentTask(DeploymentTaskValidationInfo info)
 {
     DebugLog();
     return(await _certifyManager.ValidateDeploymentTask(info.ManagedCertificate, info.TaskConfig));
 }
Beispiel #3
0
 /// <summary>
 /// Perform validation for a given deployment task configuration via the providers own validation method
 /// </summary>
 /// <param name="deploymentTaskValidationInfo"></param>
 /// <returns></returns>
 public async Task <List <ActionResult> > ValidateDeploymentTask(DeploymentTaskValidationInfo deploymentTaskValidationInfo) => await _certifyClient.ValidateDeploymentTask(deploymentTaskValidationInfo);