Class AuthorizationGrpc.AuthorizationStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractAsyncStub<AuthorizationGrpc.AuthorizationStub>
-
- io.envoyproxy.envoy.service.auth.v3.AuthorizationGrpc.AuthorizationStub
-
- Enclosing class:
- AuthorizationGrpc
public static final class AuthorizationGrpc.AuthorizationStub extends io.grpc.stub.AbstractAsyncStub<AuthorizationGrpc.AuthorizationStub>
A generic interface for performing authorization check on incoming requests to a networked service.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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`.
-
-
-
Method Detail
-
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`.
-
-