Class: OmniAuth::Strategies::Apple

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

Instance Method Summary collapse

Instance Method Details

#callback_urlObject



38
39
40
# File 'lib/omniauth/strategies/apple.rb', line 38

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

#clientObject



34
35
36
# File 'lib/omniauth/strategies/apple.rb', line 34

def client
  ::OAuth2::Client.new(options.client_id, client_secret, deep_symbolize(options.client_options))
end