code: def _build_url(self):
          
          if self.connection.get("username") and self.connection.get("password"):
              auth = "%s:%s@" % (self.connection["username"],
                                 self._encoded_password)
          else:
              auth = ""
  
          # Optional port number
          port = self.connection.get("port")
          port = ":" + port if port else ""
  
          self.connection["mount_url"] = "%s://%s%s%s/%s" % (
              self.protocol, auth, self.connection["url"], port,
              self.connection["share_name"])
docs: Build the URL string to mount this file share.