Searched refs:credential_source (Results 1 – 4 of 4) sorted by relevance
82 BuildApi::BuildApi(std::unique_ptr<CredentialSource> credential_source) in BuildApi() argument83 : credential_source(std::move(credential_source)) {} in BuildApi()87 if (credential_source) { in Headers()88 headers.push_back("Authorization:Bearer " + credential_source->Credential()); in Headers()
85 std::unique_ptr<CredentialSource> credential_source; variable89 BuildApi(std::unique_ptr<CredentialSource> credential_source);
56 DEFINE_string(credential_source, "", "Build API credential source");259 std::unique_ptr<CredentialSource> credential_source; in FetchCvdMain() local261 credential_source = GceMetadataCredentialSource::make(); in FetchCvdMain()263 credential_source = FixedCredentialSource::make(FLAGS_credential_source); in FetchCvdMain()265 BuildApi build_api(std::move(credential_source)); in FetchCvdMain()
20 "credential_source.cc",