Class AuthorizationGrpc.AuthorizationFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<AuthorizationGrpc.AuthorizationFutureStub>
io.envoyproxy.envoy.service.auth.v2.AuthorizationGrpc.AuthorizationFutureStub
- Enclosing class:
- AuthorizationGrpc
public static final class AuthorizationGrpc.AuthorizationFutureStub
extends io.grpc.stub.AbstractFutureStub<AuthorizationGrpc.AuthorizationFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service Authorization.
A generic interface for performing authorization check on incoming requests to a networked service.
-
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 TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<CheckResponse>check(CheckRequest request) Performs authorization check based on the attributes associated with the incoming request, and returns status `OK` or not `OK`.Methods inherited from class io.grpc.stub.AbstractFutureStub
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 AuthorizationGrpc.AuthorizationFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<AuthorizationGrpc.AuthorizationFutureStub>
-
check
public com.google.common.util.concurrent.ListenableFuture<CheckResponse> check(CheckRequest request) Performs authorization check based on the attributes associated with the incoming request, and returns status `OK` or not `OK`.
-