Class: OmniAuth::Strategies::Matique

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

Constant Summary collapse

AUTH_URL =

AUTH_URL = ‘login.matique.de

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

Instance Method Summary collapse

Instance Method Details

#raw_infoObject



33
34
35
36
37
# File 'lib/omniauth/strategies/matique.rb', line 33

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