Interface ClientAuthHandler

All Known Implementing Classes:
BasicClientAuthHandler

@Deprecated public interface ClientAuthHandler
Deprecated.
As of 14.0.0. This implements a stateful "login" flow that does not play well with distributed or stateless systems. It will not be removed, but should not be used. Instead see FlightClient.authenticateBasicToken(String, String).
Implement authentication for Flight on the client side.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Deprecated.
    A communication channel to the server during initial connection.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Deprecated.
    Handle the initial handshake with the server.
    byte[]
    Deprecated.
    Get the per-call authentication token.
  • Method Details

    • authenticate

      void authenticate(ClientAuthHandler.ClientAuthSender outgoing, Iterator<byte[]> incoming)
      Deprecated.
      Handle the initial handshake with the server.
      Parameters:
      outgoing - A channel to send data to the server.
      incoming - An iterator of incoming data from the server.
    • getCallToken

      byte[] getCallToken()
      Deprecated.
      Get the per-call authentication token.