pyarrow.flight.ClientAuthHandler¶
- class pyarrow.flight.ClientAuthHandler¶
Bases:
pyarrow.lib._Weakrefable
Authentication plugin for a client.
- __init__()¶
Initialize self. See help(type(self)) for accurate signature.
Methods
__init__
()Initialize self.
authenticate
(self, outgoing, incoming)Conduct the handshake with the server.
get_token
(self)Get the auth token for a call.
- authenticate(self, outgoing, incoming)¶
Conduct the handshake with the server.
- Parameters
outgoing (ClientAuthSender) – A channel to send messages to the server.
incoming (ClientAuthReader) – A channel to read messages from the server.
- get_token(self)¶
Get the auth token for a call.