public class ServerAuthWrapper extends Object
Constructor and Description |
---|
ServerAuthWrapper() |
Modifier and Type | Method and Description |
---|---|
static io.grpc.stub.StreamObserver<Flight.HandshakeRequest> |
wrapHandshake(ServerAuthHandler authHandler,
io.grpc.stub.StreamObserver<Flight.HandshakeResponse> responseObserver,
ExecutorService executors)
Wrap the auth handler for handshake purposes.
|
public static io.grpc.stub.StreamObserver<Flight.HandshakeRequest> wrapHandshake(ServerAuthHandler authHandler, io.grpc.stub.StreamObserver<Flight.HandshakeResponse> responseObserver, ExecutorService executors)
authHandler
- Authentication handlerresponseObserver
- Observer for handshake responseexecutors
- ExecutorServiceCopyright © 2023 The Apache Software Foundation. All rights reserved.