Class: OmniAuth::Strategies::Eivo

Inherits:
OAuth2
  • Object
show all
Defined in:
lib/omniauth/strategies/eivo.rb

Instance Method Summary collapse

Instance Method Details

#callback_urlObject

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_infoObject



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