Class 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.
     
    • 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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected AuthorizationGrpc.AuthorizationStub build​(io.grpc.Channel channel, io.grpc.CallOptions callOptions)  
      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`.
      • Methods inherited from class io.grpc.stub.AbstractAsyncStub

        newStub, newStub
      • Methods inherited from class io.grpc.stub.AbstractStub

        getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady