Class: OmniAuth::Strategies::Heroku
- Inherits:
-
OAuth2
- Object
- OAuth2
- OmniAuth::Strategies::Heroku
- Defined in:
- lib/omniauth/strategies/heroku.rb
Instance Method Summary collapse
-
#request_phase ⇒ Object
override method in OmniAuth::Strategies::OAuth2 to error when we don’t have a client_id or secret:.
Instance Method Details
#request_phase ⇒ Object
override method in OmniAuth::Strategies::OAuth2 to error when we don’t have a client_id or secret:
53 54 55 56 57 58 59 60 61 |
# File 'lib/omniauth/strategies/heroku.rb', line 53 def request_phase if missing_client_id? fail!(:missing_client_id) elsif missing_client_secret? fail!(:missing_client_secret) else super end end |