aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/util/test_credentials_provider.h
diff options
context:
space:
mode:
authorGravatar yang-g <yangg@google.com>2016-02-19 00:19:39 -0800
committerGravatar yang-g <yangg@google.com>2016-02-19 00:19:39 -0800
commit4c8aed3dbad9fdf749052a79d8f5f608bfb120fe (patch)
tree69830acec974fb5b30a82b17f335c2aab26a70fb /test/cpp/util/test_credentials_provider.h
parent17197ddc714d5268a6b1fca678ac8b94ed74f3bd (diff)
Add a helper to return all the secure types
Diffstat (limited to 'test/cpp/util/test_credentials_provider.h')
-rw-r--r--test/cpp/util/test_credentials_provider.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/cpp/util/test_credentials_provider.h b/test/cpp/util/test_credentials_provider.h
index 4f25e3be66..f4105d94b8 100644
--- a/test/cpp/util/test_credentials_provider.h
+++ b/test/cpp/util/test_credentials_provider.h
@@ -55,6 +55,9 @@ std::shared_ptr<ChannelCredentials> GetChannelCredentials(
std::shared_ptr<ServerCredentials> GetServerCredentials(
const grpc::string& type);
+// Provide a list of secure credentials type.
+std::vector<grpc::string> GetSecureCredentialsTypeList();
+
} // namespace testing
} // namespace grpc