Class: OmniAuth::Strategies::Donorhub
- Inherits:
-
OAuth2
- Object
- OAuth2
- OmniAuth::Strategies::Donorhub
- Defined in:
- lib/omniauth/strategies/donorhub.rb
Instance Method Summary collapse
Instance Method Details
#client ⇒ Object
42 43 44 45 46 47 48 |
# File 'lib/omniauth/strategies/donorhub.rb', line 42 def client return super unless oauth_url ..site = oauth_site .. = oauth_path ..token_url = oauth_path super end |
#query_string ⇒ Object
36 37 38 39 40 |
# File 'lib/omniauth/strategies/donorhub.rb', line 36 def query_string request.delete_param('code') request.delete_param('state') request.params.to_query ? "?#{request.params.to_query}" : '' end |
#raw_info ⇒ Object
32 33 34 |
# File 'lib/omniauth/strategies/donorhub.rb', line 32 def raw_info @raw_info ||= {} end |