Class: OmniAuth::Strategies::JAccount
- Inherits:
-
OAuth2
- Object
- OAuth2
- OmniAuth::Strategies::JAccount
- Defined in:
- lib/omniauth/strategies/jaccount.rb
Instance Method Summary collapse
Instance Method Details
#authorize_params ⇒ Object
12 13 14 15 16 17 18 |
# File 'lib/omniauth/strategies/jaccount.rb', line 12 def super.tap do |params| %w[scope client_options].each do |v| params[v.to_sym] = request.params[v] if request.params[v] end end end |
#callback_url ⇒ Object
38 39 40 |
# File 'lib/omniauth/strategies/jaccount.rb', line 38 def callback_url full_host + script_name + callback_path end |
#raw_info ⇒ Object
34 35 36 |
# File 'lib/omniauth/strategies/jaccount.rb', line 34 def raw_info @raw_info ||= access_token.get('/me/profile').parsed['entities'][0] end |