Class: OmniAuth::Strategies::Socialstream

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

Instance Method Summary collapse

Instance Method Details

#raw_infoObject



26
27
28
29
# File 'lib/omniauth/strategies/socialstream.rb', line 26

def raw_info
  access_token.options[:mode] = :query
  @raw_info ||= access_token.get('user.json', params: { access_token: access_token.token }).parsed
end