Class: OmniAuth::Strategies::So

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

Constant Summary collapse

CUSTOM_PROVIDER_URL =
ENV['AUTH_PROVIDER_URL'] || "http://custom-provider-goes-here"
CUSTOM_PROVIDER_ME_URL =
ENV['AUTH_PROVIDER_ME_URL'] || "/oauth/me.json"

Instance Method Summary collapse

Instance Method Details

#raw_infoObject



35
36
37
# File 'lib/omniauth/strategies/so.rb', line 35

def raw_info
  @raw_info ||= access_token.get(CUSTOM_PROVIDER_ME_URL).parsed
end