Module: Facebook::Access::Omniauth

Defined in:
lib/facebook/access/omniauth.rb

Instance Method Summary collapse

Instance Method Details

#auth_providerObject



8
9
10
# File 'lib/facebook/access/omniauth.rb', line 8

def auth_provider
  omniauth['provider']
end

#omniauthObject



4
5
6
# File 'lib/facebook/access/omniauth.rb', line 4

def omniauth
  request.env["omniauth.auth"]
end

#user_idObject



12
13
14
# File 'lib/facebook/access/omniauth.rb', line 12

def user_id
  omniauth['uid']
end