# File lib/oauth/client/net_http.rb, line 24
  def oauth!(http, consumer = nil, token = nil, options = {})
    options = { :request_uri      => oauth_full_request_uri(http),
                :consumer         => consumer,
                :token            => token,
                :scheme           => 'header',
                :signature_method => nil,
                :nonce            => nil,
                :timestamp        => nil }.merge(options)

    @oauth_helper = OAuth::Client::Helper.new(self, options)
    @oauth_helper.amend_user_agent_header(self)
    self.send("set_oauth_#{options[:scheme]}")
  end