Class: OmniAuth::Strategies::WebAreal
- Inherits:
-
OAuth2
- Object
- OAuth2
- OmniAuth::Strategies::WebAreal
- Defined in:
- lib/omniauth/strategies/web_areal.rb
Overview
Main class for Seznam.cz strategy.
Constant Summary collapse
- DEFAULT_SCOPE =
'USER_INFO'
- USER_INFO_URL =
'https://marketplace.webareal.cz/api/user/about'
Instance Method Summary collapse
Instance Method Details
#callback_url ⇒ Object
37 38 39 |
# File 'lib/omniauth/strategies/web_areal.rb', line 37 def callback_url full_host + callback_path end |
#raw_info ⇒ Object
41 42 43 |
# File 'lib/omniauth/strategies/web_areal.rb', line 41 def raw_info @raw_info ||= access_token.get(USER_INFO_URL).parsed end |