Class: OmniAuth::Strategies::Matique

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

Constant Summary collapse

AUTH_URL =

AuthUrl = ENV || “id.heroku.com

ENV["AUTH_URL"] || 'http://localhost:3010'
STRATEGY =

AUTH_URL = ‘login.matique.de

'matique'

Instance Method Summary collapse

Instance Method Details

#raw_infoObject



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

def raw_info
 @raw_info ||= access_token.get(
   "/auth/matique/user.json?oauth_token=#{access_token.token}").
   parsed || {}
end