Class: OmniAuth::Strategies::MITOAuth2
- Inherits:
-
OAuth2
- Object
- OAuth2
- OmniAuth::Strategies::MITOAuth2
- Defined in:
- lib/omniauth/strategies/mit_oauth2.rb
Instance Method Summary collapse
Instance Method Details
#callback_url ⇒ Object
27 28 29 |
# File 'lib/omniauth/strategies/mit_oauth2.rb', line 27 def callback_url full_host + script_name + callback_path end |
#raw_info ⇒ Object
31 32 33 |
# File 'lib/omniauth/strategies/mit_oauth2.rb', line 31 def raw_info @raw_info ||= access_token.get('/userinfo').parsed end |