Class: OmniAuth::Strategies::Idnet
- Inherits:
-
OAuth2
- Object
- OAuth2
- OmniAuth::Strategies::Idnet
- Defined in:
- lib/omniauth/strategies/idnet.rb
Instance Method Summary collapse
Instance Method Details
#authorize_params ⇒ Object
31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
# File 'lib/omniauth/strategies/idnet.rb', line 31 def super.tap do |params| if Enumerable === request.params['prefill'] request.params['prefill'].each do |key, value| params.merge!(("prefill[" + key.to_s + "]").to_sym => value) end end if Enumerable === request.params['meta'] request.params['meta'].each do |key, value| params.merge!(("meta[" + key.to_s + "]").to_sym => value) end end end end |
#raw_info ⇒ Object
27 28 29 |
# File 'lib/omniauth/strategies/idnet.rb', line 27 def raw_info @raw_info ||= access_token.get('/api/profile').parsed end |