Home
last modified time | relevance | path

Searched refs:creds_type (Results 1 – 5 of 5) sorted by relevance

/external/rust/crates/grpcio-sys/grpc/src/core/ext/xds/
Dxds_bootstrap.h44 static bool IsSupported(const std::string& creds_type);
45 static bool IsValidConfig(const std::string& creds_type, const Json& config);
47 const std::string& creds_type, const Json& config);
Dxds_bootstrap.cc46 bool XdsChannelCredsRegistry::IsSupported(const std::string& creds_type) { in IsSupported() argument
47 return creds_type == "google_default" || creds_type == "insecure" || in IsSupported()
48 creds_type == "fake"; in IsSupported()
51 bool XdsChannelCredsRegistry::IsValidConfig(const std::string& creds_type, in IsValidConfig() argument
60 XdsChannelCredsRegistry::MakeChannelCreds(const std::string& creds_type, in MakeChannelCreds() argument
62 if (creds_type == "google_default") { in MakeChannelCreds()
64 } else if (creds_type == "insecure") { in MakeChannelCreds()
66 } else if (creds_type == "fake") { in MakeChannelCreds()
/external/python/oauth2client/oauth2client/
Dservice_account.py170 creds_type = keyfile_dict.get('type')
171 if creds_type != client.SERVICE_ACCOUNT:
172 raise ValueError('Unexpected credentials type', creds_type,
/external/grpc-grpc/test/cpp/end2end/
Dend2end_test.cc197 TestScenario(bool proxy, bool inproc_stub, const grpc::string& creds_type) in TestScenario() argument
198 : use_proxy(proxy), inproc(inproc_stub), credentials_type(creds_type) {} in TestScenario()
Dasync_end2end_test.cc219 TestScenario(bool inproc_stub, const grpc::string& creds_type, bool hcs, in TestScenario() argument
223 credentials_type(creds_type), in TestScenario()