Class: OmniAuth::Strategies::Whoplusyou
- Inherits:
-
OAuth2
- Object
- OAuth2
- OmniAuth::Strategies::Whoplusyou
- Defined in:
- lib/omniauth/strategies/whoplusyou.rb
Instance Method Summary collapse
Instance Method Details
#callback_url ⇒ Object
28 29 30 |
# File 'lib/omniauth/strategies/whoplusyou.rb', line 28 def callback_url [:redirect_uri] || (full_host + callback_path) end |
#raw_info ⇒ Object
32 33 34 |
# File 'lib/omniauth/strategies/whoplusyou.rb', line 32 def raw_info @raw_info ||= access_token.get("/api/v2/get-basic-user-info").parsed end |