public PbiEmbedService(AadService aadService) { this.aadService = aadService; }
public static async Task <PowerBIClient> GetPowerBiClient() { var tokenCredentials = new TokenCredentials(await AadService.GetAccessToken(), "Bearer"); return(new PowerBIClient(new Uri(urlPowerBiServiceApiRoot), tokenCredentials)); }