diff options
author | Nathaniel Manista <nathaniel@google.com> | 2017-12-01 16:00:17 +0000 |
---|---|---|
committer | Nathaniel Manista <nathaniel@google.com> | 2017-12-01 16:00:17 +0000 |
commit | 628875374223df0174bd28535bbe151475822f3b (patch) | |
tree | 3f99a0907ef39fbc1736341a36d861b229573e57 /src/python/grpcio/grpc/__init__.py | |
parent | 95bcb4924b7a1bf5ee5629d1a2324e05cc3dfb23 (diff) |
Correct AccessTokenAuthMetadataPlugin name
It was never itself a "call credentials" of any sort.
Diffstat (limited to 'src/python/grpcio/grpc/__init__.py')
-rw-r--r-- | src/python/grpcio/grpc/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/grpcio/grpc/__init__.py b/src/python/grpcio/grpc/__init__.py index 17d52a7a3e..45ee2c2acd 100644 --- a/src/python/grpcio/grpc/__init__.py +++ b/src/python/grpcio/grpc/__init__.py @@ -1196,7 +1196,7 @@ def access_token_call_credentials(access_token): """ from grpc import _auth # pylint: disable=cyclic-import return _metadata_call_credentials( - _auth.AccessTokenCallCredentials(access_token), None) + _auth.AccessTokenAuthMetadataPlugin(access_token), None) def composite_call_credentials(*call_credentials): |