code: func (c *Client) DoAPIRequestWithAuth(remote string, req *http.Request) (*http.Response, error) {
  	operation := getReqOperation(req)
  	apiEndpoint := c.Endpoints.Endpoint(operation, remote)
  	access := c.Endpoints.AccessFor(apiEndpoint.Url)
  	return c.DoWithAuth(remote, access, req)
  }
docs: // DoAPIRequestWithAuth sends an HTTP request to get an HTTP response similarly
  // to DoWithAuth, but using the LFS API endpoint for the provided remote and
  // operation to determine the access mode.