Class: OmniAuth::Strategies::DailyMile
- Inherits:
-
OAuth2
- Object
- OAuth2
- OmniAuth::Strategies::DailyMile
- Defined in:
- lib/omniauth/strategies/dailymile.rb
Instance Method Summary collapse
Instance Method Details
#raw_info ⇒ Object
34 35 36 37 38 39 |
# File 'lib/omniauth/strategies/dailymile.rb', line 34 def raw_info # set these here instead of using 'option token_params' since omniauth-oath2 is passing those incorrectly access_token.[:param_name] = 'oauth_token' access_token.[:mode] = :query @raw_info = JSON.parse access_token.get('/people/me.json').body end |
#request_phase ⇒ Object
12 13 14 |
# File 'lib/omniauth/strategies/dailymile.rb', line 12 def request_phase super end |