Class: OmniAuth::Strategies::Dropbox
- Inherits:
-
OAuth2
- Object
- OAuth2
- OmniAuth::Strategies::Dropbox
- Defined in:
- lib/omniauth/strategies/dropbox.rb
Overview
OmniAuth strategy for Dropbox OAuth2.
Instance Method Summary collapse
Instance Method Details
#callback_url ⇒ Object
51 52 53 54 55 |
# File 'lib/omniauth/strategies/dropbox.rb', line 51 def callback_url return "" if [:callback_url] || super end |
#query_string ⇒ Object
57 58 59 60 61 |
# File 'lib/omniauth/strategies/dropbox.rb', line 57 def query_string return "" if request.params["code"] super end |
#raw_info ⇒ Object
47 48 49 |
# File 'lib/omniauth/strategies/dropbox.rb', line 47 def raw_info @raw_info ||= access_token.post("users/get_current_account", body: "null").parsed end |