Class: OmniAuth::Strategies::Matique

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

Constant Summary collapse

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

Instance Method Summary collapse

Instance Method Details

#raw_infoObject



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

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