Class: OmniAuth::Strategies::Taobao
- Inherits:
-
OAuth2
- Object
- OAuth2
- OmniAuth::Strategies::Taobao
- Defined in:
- lib/omniauth/strategies/taobao.rb
Instance Method Summary collapse
Instance Method Details
#raw_info ⇒ Object
33 34 35 36 |
# File 'lib/omniauth/strategies/taobao.rb', line 33 def raw_info access_token.[:mode] = :query @raw_info ||= ::OAuth2::Response.new(conn.get("/router/rest", signed_params)).parsed['user_seller_get_response']['user'] rescue {} end |