15 #ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_CREDENTIALS_H
16 #define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_CREDENTIALS_H
18 #include "google/cloud/common_options.h"
19 #include "google/cloud/options.h"
20 #include "google/cloud/version.h"
30 class CredentialsVisitor;
58 friend class internal::CredentialsVisitor;
59 virtual void dispatch(internal::CredentialsVisitor& visitor) = 0;
148 std::string
const& access_token,
149 std::chrono::system_clock::time_point expiration,
Options opts
= {});
196 std::string target_service_account,
Options opts
= {});
281 using Type = std::vector<std::string>;
291 using Type = std::vector<std::string>;
301 using Type = std::chrono::seconds;
347 using Type = std::string;
351 using UnifiedCredentialsOptionList =
364 struct UseInsecureChannelOption {