Class: OmniAuth::Strategies::Venmo
- Inherits:
-
OAuth2
- Object
- OAuth2
- OmniAuth::Strategies::Venmo
- Defined in:
- lib/omniauth/strategies/venmo.rb
Constant Summary collapse
- DEFAULT_SCOPE =
'access_profile'
Instance Method Summary collapse
Instance Method Details
#raw_info ⇒ Object
37 38 39 |
# File 'lib/omniauth/strategies/venmo.rb', line 37 def raw_info @raw_info ||= access_token.params['user'] || {} end |
#request_phase ⇒ Object
41 42 43 44 45 46 47 48 49 |
# File 'lib/omniauth/strategies/venmo.rb', line 41 def request_phase [:authorize_params] = { :client_id => ['client_id'], :response_type => 'code', :scope => (['scope'] || DEFAULT_SCOPE) } super end |