class OmniAuth::Strategies::EauthOauth2

Public Instance Methods

authorize_params() click to toggle source
Calls superclass method
# File lib/omniauth/strategies/eauth_oauth2.rb, line 18
def authorize_params
  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() click to toggle source
# File lib/omniauth/strategies/eauth_oauth2.rb, line 40
def raw_info
  @raw_info ||= access_token.get('/oauth/user').parsed
end
request_phase() click to toggle source
Calls superclass method
# File lib/omniauth/strategies/eauth_oauth2.rb, line 14
def request_phase
  super
end

Private Instance Methods

callback_url() click to toggle source
# File lib/omniauth/strategies/eauth_oauth2.rb, line 46
def callback_url
  full_host + script_name + callback_path
end