Class: OmniAuth::Strategies::Meetup
- Inherits:
-
OAuth2
- Object
- OAuth2
- OmniAuth::Strategies::Meetup
- Defined in:
- lib/omniauth/strategies/meetup.rb
Overview
Meetup omniauth-oauth2 strategy
Instance Method Summary collapse
Instance Method Details
#callback_url ⇒ Object
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 [:callback_url] || (full_host + script_name + callback_path) end |
#raw_info ⇒ Object
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_phase ⇒ Object
14 15 16 |
# File 'lib/omniauth/strategies/meetup.rb', line 14 def request_phase super end |