Module: FacebookDialog::OmniAuth

Defined in:
lib/facebook_dialog/omni_auth.rb

Defined Under Namespace

Classes: MockRack, OmniAuthHack

Class Method Summary collapse

Class Method Details

.dialog(additional_options = {}) ⇒ Object



3
4
5
6
7
# File 'lib/facebook_dialog/omni_auth.rb', line 3

def self.dialog(additional_options = {})
  options = authorize_params.merge(additional_options)
  options[:redirect_uri] ||= hacked_app.callback_url
  FacebookDialog::Oauth.new(authorize_params.merge(options))
end