Class: OmniAuth::Strategies::Meetup

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

Overview

Meetup omniauth-oauth2 strategy

Instance Method Summary collapse

Instance Method Details

#callback_urlObject



36
37
38
39
# File 'lib/omniauth/strategies/meetup.rb', line 36

def callback_url
  # Fixes regression in omniauth-oauth2 v1.4.0 by https://github.com/intridea/omniauth-oauth2/commit/85fdbe117c2a4400d001a6368cc359d88f40abc7
  options[:callback_url] || (full_host + script_name + callback_path)
end

#raw_infoObject



41
42
43
# File 'lib/omniauth/strategies/meetup.rb', line 41

def raw_info
  @raw_info ||= JSON.parse(access_token.get('/2/member/self').body)
end

#request_phaseObject



14
15
16
# File 'lib/omniauth/strategies/meetup.rb', line 14

def request_phase
  super
end