private async void Client_SendingRequest(System.Net.Http.HttpClient client, string resource) { client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", await TokenService.AquireAADToken(resource)); }