Google Cloud Storage C++ Client  1.42.0
A C++ Client Library for Google Cloud Storage
Classes | Namespaces | Functions
authorized_user_credentials.h File Reference
#include "google/cloud/storage/internal/curl_request_builder.h"
#include "google/cloud/storage/internal/http_response.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/status.h"
#include <chrono>
#include <iostream>
#include <mutex>
#include <string>

Go to the source code of this file.

Classes

struct  google::cloud::storage::oauth2::AuthorizedUserCredentialsInfo
 Object to hold information used to instantiate an AuthorizedUserCredentials. More...
 
class  google::cloud::storage::oauth2::AuthorizedUserCredentials< HttpRequestBuilderType, ClockType >
 Wrapper class for Google OAuth 2.0 user 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< AuthorizedUserCredentialsInfo > google::cloud::storage::oauth2::ParseAuthorizedUserCredentials (std::string const &content, std::string const &source, std::string const &default_token_uri=GoogleOAuthRefreshEndpoint())
 Parses a user credentials JSON string into an AuthorizedUserCredentialsInfo. More...
 
StatusOr< RefreshingCredentialsWrapper::TemporaryToken > google::cloud::storage::oauth2::ParseAuthorizedUserRefreshResponse (storage::internal::HttpResponse const &response, std::chrono::system_clock::time_point now)
 Parses a refresh response JSON string into an authorization header. More...