public interface ClientAuthHandler
Modifier and Type | Interface and Description |
---|---|
static interface |
ClientAuthHandler.ClientAuthSender
A communication channel to the server during initial connection.
|
Modifier and Type | Method and Description |
---|---|
void |
authenticate(ClientAuthHandler.ClientAuthSender outgoing,
Iterator<byte[]> incoming)
Handle the initial handshake with the server.
|
byte[] |
getCallToken()
Get the per-call authentication token.
|
void authenticate(ClientAuthHandler.ClientAuthSender outgoing, Iterator<byte[]> incoming)
outgoing
- A channel to send data to the server.incoming
- An iterator of incoming data from the server.byte[] getCallToken()
Copyright © 2023 The Apache Software Foundation. All rights reserved.