Class: OmniAuth::Strategies::Zendesk
- Inherits:
-
OAuth2
- Object
- OAuth2
- OmniAuth::Strategies::Zendesk
- Defined in:
- lib/omniauth/strategies/zendesk.rb
Instance Method Summary collapse
Instance Method Details
#authorize_params ⇒ Object
14 15 16 17 18 19 20 |
# File 'lib/omniauth/strategies/zendesk.rb', line 14 def super.tap do |params| if request.params['scope'] params[:scope] = request.params[v] end end end |
#raw_info ⇒ Object
22 23 24 |
# File 'lib/omniauth/strategies/zendesk.rb', line 22 def raw_info @raw_info ||= access_token.get('/api/v2/users/me.json').parsed end |