Class AuthorizationGrpc.AuthorizationStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<AuthorizationGrpc.AuthorizationStub>
io.envoyproxy.envoy.service.auth.v2alpha.AuthorizationGrpc.AuthorizationStub
- Enclosing class:
- AuthorizationGrpc
public static final class AuthorizationGrpc.AuthorizationStub
extends io.grpc.stub.AbstractAsyncStub<AuthorizationGrpc.AuthorizationStub>
A stub to allow clients to do asynchronous 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 TypeMethodDescriptionprotected AuthorizationGrpc.AuthorizationStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidcheck(CheckRequest request, io.grpc.stub.StreamObserver<CheckResponse> responseObserver) 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.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 AuthorizationGrpc.AuthorizationStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<AuthorizationGrpc.AuthorizationStub>
-
check
public void check(CheckRequest request, io.grpc.stub.StreamObserver<CheckResponse> responseObserver) Performs authorization check based on the attributes associated with the incoming request, and returns status `OK` or not `OK`.
-