Class: OmniAuth::Strategies::EauthOauth2
- Inherits:
-
OAuth2
- Object
- OAuth2
- OmniAuth::Strategies::EauthOauth2
- Defined in:
- lib/omniauth/strategies/eauth_oauth2.rb
Instance Method Summary collapse
Instance Method Details
#authorize_params ⇒ Object
18 19 20 21 22 23 24 25 26 |
# File 'lib/omniauth/strategies/eauth_oauth2.rb', line 18 def super.tap do |params| %w[scope client_options].each do |v| if request.params[v] params[v.to_sym] = request.params[v] end end end end |
#raw_info ⇒ Object
41 42 43 |
# File 'lib/omniauth/strategies/eauth_oauth2.rb', line 41 def raw_info @raw_info ||= access_token.get('/oauth/user').parsed end |
#request_phase ⇒ Object
14 15 16 |
# File 'lib/omniauth/strategies/eauth_oauth2.rb', line 14 def request_phase super end |