Class: OmniAuth::Strategies::Faceit

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

Instance Method Summary collapse

Instance Method Details

#callback_urlObject



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

def callback_url
  full_host + script_name + callback_path
end

#raw_infoObject



24
25
26
# File 'lib/omniauth/strategies/faceit.rb', line 24

def raw_info
  @raw_info ||= access_token.get("https://api.faceit.com/auth/v1/resources/userinfo").parsed
end