
Public Member Functions | |
| def | __call__ (self, context, callback) |
Definition at line 33 of file customized_auth_client.py.
| def customized_auth_client.AuthGateway.__call__ | ( | self, | |
| context, | |||
| callback | |||
| ) |
Implements authentication by passing metadata to a callback.
Implementations of this method must not block.
Args:
context: An AuthMetadataContext providing information on the RPC that
the plugin is being called to authenticate.
callback: An AuthMetadataPluginCallback to be invoked either
synchronously or asynchronously.
Reimplemented from grpc.AuthMetadataPlugin.
Definition at line 35 of file customized_auth_client.py.