diff options
author | yang-g <yangg@google.com> | 2015-09-02 14:33:15 -0700 |
---|---|---|
committer | yang-g <yangg@google.com> | 2015-09-02 14:33:15 -0700 |
commit | 867d0c132c6d033ff4af33e7657698d6a31887f7 (patch) | |
tree | 8a17b5f39c399016654a333bc1c8c58935156c7b /test/cpp/interop/interop_client.h | |
parent | 750ada957407ab39d42d3ac028e9e43f08cb2b99 (diff) |
Fix auth tests
Diffstat (limited to 'test/cpp/interop/interop_client.h')
-rw-r--r-- | test/cpp/interop/interop_client.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/cpp/interop/interop_client.h b/test/cpp/interop/interop_client.h index 5a085c4c02..7bcb58571e 100644 --- a/test/cpp/interop/interop_client.h +++ b/test/cpp/interop/interop_client.h @@ -68,12 +68,11 @@ class InteropClient { void DoJwtTokenCreds(const grpc::string& username); void DoComputeEngineCreds(const grpc::string& default_service_account, const grpc::string& oauth_scope); - // username is a string containing the user email + // username the GCE default service account email void DoOauth2AuthToken(const grpc::string& username, const grpc::string& oauth_scope); // username is a string containing the user email - void DoPerRpcCreds(const grpc::string& username, - const grpc::string& oauth_scope); + void DoPerRpcCreds(const grpc::string& json_key); private: void PerformLargeUnary(SimpleRequest* request, SimpleResponse* response); |