Class: OmniAuth::Strategies::QQConnect
- Inherits:
-
OAuth2
- Object
- OAuth2
- OmniAuth::Strategies::QQConnect
- Defined in:
- lib/omniauth/strategies/qq_connect.rb
Instance Method Summary collapse
Instance Method Details
#raw_info ⇒ Object
47 48 49 50 51 52 53 54 55 56 57 58 |
# File 'lib/omniauth/strategies/qq_connect.rb', line 47 def raw_info @raw_info ||= begin #TODO handle error case #TODO make info request url configurable client.request(:get, "https://graph.qq.com/user/get_user_info", :params => { :format => :json, :openid => uid, :oauth_consumer_key => [:client_id], :access_token => access_token.token }, :parse => :json).parsed end end |