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
39 40 41 |
# File 'lib/omniauth/strategies/venmo.rb', line 39 def raw_info @raw_info ||= access_token.params['user'] || {} end |
#request_phase ⇒ Object
43 44 45 46 47 48 49 50 51 |
# File 'lib/omniauth/strategies/venmo.rb', line 43 def request_phase [:authorize_params] = { :client_id => ['client_id'], :response_type => 'code', :scope => (['scope'] || DEFAULT_SCOPE) } super end |