Class RedisProxyExternalAuthGrpc.RedisProxyExternalAuthStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<RedisProxyExternalAuthGrpc.RedisProxyExternalAuthStub>
io.envoyproxy.envoy.service.redis_auth.v3.RedisProxyExternalAuthGrpc.RedisProxyExternalAuthStub
- Enclosing class:
- RedisProxyExternalAuthGrpc
public static final class RedisProxyExternalAuthGrpc.RedisProxyExternalAuthStub
extends io.grpc.stub.AbstractAsyncStub<RedisProxyExternalAuthGrpc.RedisProxyExternalAuthStub>
A stub to allow clients to do asynchronous rpc calls to service RedisProxyExternalAuth.
A generic interface for performing external password authentication on incoming AUTH commands.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionvoidauthenticate(RedisProxyExternalAuthRequest request, io.grpc.stub.StreamObserver<RedisProxyExternalAuthResponse> responseObserver) Performs authentication check based on the data sent with the AUTH request.build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) Methods inherited from class io.grpc.stub.AbstractAsyncStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
-
Method Details
-
build
protected RedisProxyExternalAuthGrpc.RedisProxyExternalAuthStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<RedisProxyExternalAuthGrpc.RedisProxyExternalAuthStub>
-
authenticate
public void authenticate(RedisProxyExternalAuthRequest request, io.grpc.stub.StreamObserver<RedisProxyExternalAuthResponse> responseObserver) Performs authentication check based on the data sent with the AUTH request. Returns either an OK status or an error status.
-