diff options
author | yang-g <yangg@google.com> | 2015-07-13 11:11:50 -0700 |
---|---|---|
committer | yang-g <yangg@google.com> | 2015-07-13 11:11:50 -0700 |
commit | be5f05921955213ed8cec41fa9518f244e9acbfb (patch) | |
tree | c97da7cbf306db421524e1405c1ff267abf0a96f /test/cpp/interop/interop_client.h | |
parent | 69563b912413b3b2a6261a5e5f74a18ef0ce09ab (diff) |
Add oauth2_auth_token test case in interop test
Diffstat (limited to 'test/cpp/interop/interop_client.h')
-rw-r--r-- | test/cpp/interop/interop_client.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/cpp/interop/interop_client.h b/test/cpp/interop/interop_client.h index d02e583d94..67eecd9ccc 100644 --- a/test/cpp/interop/interop_client.h +++ b/test/cpp/interop/interop_client.h @@ -68,6 +68,9 @@ class InteropClient { // username is a string containing the user email void DoServiceAccountCreds(const grpc::string& username, const grpc::string& oauth_scope); + // username is a string containing the user email + void DoOauth2AuthToken(const grpc::string& username, + const grpc::string& oauth_scope); private: void PerformLargeUnary(SimpleRequest* request, SimpleResponse* response); |