Class: OmniAuth::Strategies::Taobao

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

Instance Method Summary collapse

Instance Method Details

#raw_infoObject



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

def raw_info
  access_token.options[:mode] = :query
  @raw_info ||= ::OAuth2::Response.new(conn.get("/router/rest", signed_params)).parsed['user_seller_get_response']['user'] rescue {}
end