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