public async Task OnPost() { this.logger.LogInformation("Executing Azure Managed Identity page"); var gadget = new AzureManagedIdentityGadget(this.logger, this.httpClientFactory, Url, this.appSettings); this.GadgetResponse = await gadget.ExecuteAsync(this.GadgetRequest); }
public async Task <GadgetResponse <AzureManagedIdentityGadget.Result> > AzureManagedIdentity([FromBody] AzureManagedIdentityGadget.Request request) { this.logger.LogInformation("Executing Azure Managed Identity API"); var gadget = new AzureManagedIdentityGadget(this.logger, this.httpClientFactory, Url, this.appSettings); return(await gadget.ExecuteAsync(request)); }
public async Task <GadgetResponse <AzureManagedIdentityGadget.Result> > AzureManagedIdentity([FromBody] AzureManagedIdentityGadget.Request request) { var gadget = new AzureManagedIdentityGadget(this.httpClientFactory, Url); return(await gadget.ExecuteAsync(request)); }
public async Task OnPost() { var gadget = new AzureManagedIdentityGadget(this.httpClientFactory, Url); this.GadgetResponse = await gadget.ExecuteAsync(this.GadgetRequest); }