Class: OmniAuth::Strategies::Etsy

Inherits:
OAuth2
  • Object
show all
Defined in:
lib/omniauth/strategies/etsy.rb

Overview

OmniAuth strategy for Etsy

Instance Method Summary collapse

Instance Method Details

#callback_urlObject



33
34
35
# File 'lib/omniauth/strategies/etsy.rb', line 33

def callback_url
  options[:callback_url] || full_host + script_name + callback_path
end

#setup_phaseObject



27
28
29
30
31
# File 'lib/omniauth/strategies/etsy.rb', line 27

def setup_phase
  options.scope = preprocessed_scopes
  options.client_options.merge!(urls)
  super
end