Class: OmniAuth::Strategies::Frontrush
- Inherits:
-
Object
- Object
- OmniAuth::Strategies::Frontrush
- Includes:
- OmniAuth::Strategy
- Defined in:
- lib/omniauth/strategies/frontrush.rb
Instance Method Summary collapse
Instance Method Details
#callback_phase ⇒ Object
20 21 22 23 24 25 |
# File 'lib/omniauth/strategies/frontrush.rb', line 20 def callback_phase puts "call back yo!!" = { consumer_key: [:consumer_key], consumer_secret: [:consumer_secret], token: nil, token_secret: nil } response = get_access_token(request, , ) super if get_json_from_response(response) end |
#request_phase ⇒ Object
16 17 18 |
# File 'lib/omniauth/strategies/frontrush.rb', line 16 def request_phase redirect get_redirect_url(callback_url + '?device=web', ) end |