Class: OmniAuth::Strategies::ShuttlerockOauth2

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

Instance Method Summary collapse

Instance Method Details

#callback_urlObject



29
30
31
# File 'lib/omniauth/strategies/shuttlerock_oauth2.rb', line 29

def callback_url
  full_host + script_name + callback_path
end

#raw_infoObject



25
26
27
# File 'lib/omniauth/strategies/shuttlerock_oauth2.rb', line 25

def raw_info
  @raw_info ||= MultiJson.decode(access_token.get('/api/v1/me').body)
end