
Public Member Functions | |
| def | __call__ (self, metadata, error) |
Callback object received by a metadata plugin.
Definition at line 604 of file src/python/grpcio/grpc/__init__.py.
| def grpc.AuthMetadataPluginCallback.__call__ | ( | self, | |
| metadata, | |||
| error | |||
| ) |
Passes to the gRPC runtime authentication metadata for an RPC. Args: metadata: The :term:`metadata` used to construct the CallCredentials. error: An Exception to indicate error or None to indicate success.
Reimplemented in grpc._plugin_wrapping._AuthMetadataPluginCallback.
Definition at line 607 of file src/python/grpcio/grpc/__init__.py.