Public Member Functions | List of all members
grpc.AuthMetadataPluginCallback Class Reference
Inheritance diagram for grpc.AuthMetadataPluginCallback:
Inheritance graph
[legend]

Public Member Functions

def __call__ (self, metadata, error)
 

Detailed Description

Callback object received by a metadata plugin.

Definition at line 604 of file src/python/grpcio/grpc/__init__.py.

Member Function Documentation

◆ __call__()

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.


The documentation for this class was generated from the following file:


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:30