Class: OmniAuth::Strategies::Eivo
- Inherits:
-
OAuth2
- Object
- OAuth2
- OmniAuth::Strategies::Eivo
- Defined in:
- lib/omniauth/strategies/eivo.rb
Instance Method Summary collapse
-
#callback_url ⇒ Object
Required for omniauth-oauth2 >= 1.4 github.com/intridea/omniauth-oauth2/issues/81.
- #raw_info ⇒ Object
Instance Method Details
#callback_url ⇒ Object
Required for omniauth-oauth2 >= 1.4 github.com/intridea/omniauth-oauth2/issues/81
34 35 36 |
# File 'lib/omniauth/strategies/eivo.rb', line 34 def callback_url full_host + script_name + callback_path end |
#raw_info ⇒ Object
28 29 30 |
# File 'lib/omniauth/strategies/eivo.rb', line 28 def raw_info @raw_info ||= access_token.get('/api/v1/me.json').parsed end |