Public Member Functions | |
def | __call__ (self, context, callback) |
def | __init__ (self, credentials) |
Private Attributes | |
_credentials | |
_is_jwt | |
Metadata wrapper for GoogleCredentials from the oauth2client library.
def grpc._auth.GoogleCallCredentials.__init__ | ( | self, | |
credentials | |||
) |
def grpc._auth.GoogleCallCredentials.__call__ | ( | self, | |
context, | |||
callback | |||
) |
Implements authentication by passing metadata to a callback. This method will be invoked asynchronously in a separate thread. 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.