# File lib/omniauth/strategies/oauth.rb, line 10 def initialize(app, name, consumer_key=nil, consumer_secret=nil, consumer_options={}, options={}, &block) self.consumer_key = consumer_key self.consumer_secret = consumer_secret self.consumer_options = consumer_options super self.options[:open_timeout] ||= 30 self.options[:read_timeout] ||= 30 self.options[:authorize_params] = options[:authorize_params] || {} end