Class: OmniAuth::Strategies::AccountKit
- Inherits:
-
OAuth2
- Object
- OAuth2
- OmniAuth::Strategies::AccountKit
- Defined in:
- lib/omniauth/strategies/accountkit.rb
Instance Method Summary collapse
Instance Method Details
#authorize_params ⇒ Object
19 20 21 22 23 |
# File 'lib/omniauth/strategies/accountkit.rb', line 19 def super.tap do |params| params["fbAppEventsEnabled"] = true end end |
#raw_info ⇒ Object
47 48 49 |
# File 'lib/omniauth/strategies/accountkit.rb', line 47 def raw_info @raw_info ||= access_token.get('/me').parsed end |
#request_phase ⇒ Object
15 16 17 |
# File 'lib/omniauth/strategies/accountkit.rb', line 15 def request_phase redirect client.auth_code.({app_id: .client_id, redirect: callback_url}.merge()) end |
#token_params ⇒ Object
25 26 27 28 29 |
# File 'lib/omniauth/strategies/accountkit.rb', line 25 def token_params super.tap do |params| params["access_token"] = app_access_token end end |