Interface InputTableServiceContextualAuthWiring

All Known Implementing Classes:
InputTableServiceContextualAuthWiring.AllowAll, InputTableServiceContextualAuthWiring.DelegateAll, InputTableServiceContextualAuthWiring.DenyAll, InputTableServiceContextualAuthWiring.TestUseOnly

public interface InputTableServiceContextualAuthWiring
This interface provides type-safe authorization hooks for InputTableServiceGrpc.
  • Method Details

    • checkPermissionAddTableToInputTable

      void checkPermissionAddTableToInputTable(AuthContext authContext, AddTableRequest request, List<Table> sourceTables)
      Authorize a request to AddTableToInputTable.
      Parameters:
      authContext - the authentication context of the request
      request - the request to authorize
      sourceTables - the operation's source tables
      Throws:
      io.grpc.StatusRuntimeException - if the user is not authorized to invoke AddTableToInputTable
    • checkPermissionDeleteTableFromInputTable

      void checkPermissionDeleteTableFromInputTable(AuthContext authContext, DeleteTableRequest request, List<Table> sourceTables)
      Authorize a request to DeleteTableFromInputTable.
      Parameters:
      authContext - the authentication context of the request
      request - the request to authorize
      sourceTables - the operation's source tables
      Throws:
      io.grpc.StatusRuntimeException - if the user is not authorized to invoke DeleteTableFromInputTable