Class: OmniAuth::Strategies::Icis
- Inherits:
-
OAuth2
- Object
- OAuth2
- OmniAuth::Strategies::Icis
- Defined in:
- lib/omniauth/strategies/icis.rb
Instance Method Summary collapse
Instance Method Details
#authorize_params ⇒ Object
18 19 20 21 22 23 24 25 26 |
# File 'lib/omniauth/strategies/icis.rb', line 18 def super.tap do |params| if request.params['state'] params[:state] = request.params['state'] session['omniauth.state'] = params[:state] end end end |
#raw_info ⇒ Object
28 29 30 |
# File 'lib/omniauth/strategies/icis.rb', line 28 def raw_info @raw_info ||= access_token.get('/api/v1/me.json').parsed end |