Пример #1
0
 public IAMSigner(HttpClientFactory clientFactory, GoogleCredential credential)
 {
     _httpClient = clientFactory.CreateAuthorizedHttpClient(credential);
     _keyId      = new Lazy <Task <string> >(
         async() => await DiscoverServiceAccountIdAsync(clientFactory)
         .ConfigureAwait(false), true);
 }