Class: OmniAuth::Strategies::Uber
- Inherits:
-
OAuth2
- Object
- OAuth2
- OmniAuth::Strategies::Uber
- Defined in:
- lib/omniauth/strategies/uber.rb
Constant Summary collapse
- DEFAULT_SCOPE =
'profile'
Instance Method Summary collapse
Instance Method Details
#raw_info ⇒ Object
24 25 26 |
# File 'lib/omniauth/strategies/uber.rb', line 24 def raw_info @raw_info ||= access_token.params['user'] || {} end |
#request_phase ⇒ Object
28 29 30 31 32 33 34 35 36 |
# File 'lib/omniauth/strategies/uber.rb', line 28 def request_phase [:authorize_params] = { :client_id => ['client_id'], :response_type => 'code', :scopes => (['scope'] || DEFAULT_SCOPE) } super end |