Google Cloud Storage C++ Client  1.42.0
A C++ Client Library for Google Cloud Storage
Classes | Namespaces | Functions
compute_engine_credentials.h File Reference
#include "google/cloud/storage/internal/compute_engine_util.h"
#include "google/cloud/storage/internal/curl_request_builder.h"
#include "google/cloud/storage/internal/openssl_util.h"
#include "google/cloud/storage/oauth2/credential_constants.h"
#include "google/cloud/storage/oauth2/credentials.h"
#include "google/cloud/storage/oauth2/refreshing_credentials_wrapper.h"
#include "google/cloud/storage/version.h"
#include "google/cloud/internal/getenv.h"
#include "google/cloud/status.h"
#include <chrono>
#include <ctime>
#include <mutex>
#include <set>
#include <string>

Go to the source code of this file.

Classes

struct  google::cloud::storage::oauth2::ServiceAccountMetadata
 A helper struct that contains service account metadata. More...
 
class  google::cloud::storage::oauth2::ComputeEngineCredentials< HttpRequestBuilderType, ClockType >
 Wrapper class for Google OAuth 2.0 GCE instance service account credentials. More...
 

Namespaces

 google
 
 google::cloud
 
 google::cloud::storage
 Contains all the Google Cloud Storage C++ client APIs.
 
 google::cloud::storage::oauth2
 

Functions

StatusOr< ServiceAccountMetadata > google::cloud::storage::oauth2::ParseMetadataServerResponse (storage::internal::HttpResponse const &response)
 Parses a metadata server response JSON string into a ServiceAccountMetadata. More...
 
StatusOr< RefreshingCredentialsWrapper::TemporaryToken > google::cloud::storage::oauth2::ParseComputeEngineRefreshResponse (storage::internal::HttpResponse const &response, std::chrono::system_clock::time_point now)
 Parses a refresh response JSON string into an authorization header. More...