15 #ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_CREDENTIALS_H
16 #define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_CREDENTIALS_H
18 #include "google/cloud/options.h"
19 #include "google/cloud/version.h"
29 class CredentialsVisitor;
99 friend class internal::CredentialsVisitor;
100 virtual void dispatch(internal::CredentialsVisitor& visitor) = 0;
159 std::string
const& access_token,
160 std::chrono::system_clock::time_point expiration);
197 std::string target_service_account,
Options opts
= {});
233 std::string json_object);
237 using Type = std::vector<std::string>;
242 using Type = std::vector<std::string>;
247 using Type = std::chrono::seconds;
295 using Type = std::string;
299 using UnifiedCredentialsOptionList =
311 struct UseInsecureChannelOption {