Method: OmniAuth::Strategies::GloboCom#auth_hash
- Defined in:
- lib/omni_auth/strategies/globocom.rb
#auth_hash ⇒ Object
34 35 36 37 38 39 |
# File 'lib/omni_auth/strategies/globocom.rb', line 34 def auth_hash hash = { :provider => "cadun", :uid => user.id, :user_info => user.to_hash.merge(:birthday => user.birthday.strftime('%d/%m/%Y')) } hash[:user_info].merge!(:GLBID => request.params['GLBID'], :url => request.params['url']) if request hash end |