Class: OmniAuth::Strategies::EdwithOauth2

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

Instance Method Summary collapse

Instance Method Details

#authorize_paramsObject



51
52
53
54
# File 'lib/omniauth/strategies/edwith_oauth2.rb', line 51

def authorize_params
  params = super
  Hash[params.map { |k, v| [k, v.respond_to?(:call) ? v.call(request) : v] }]
end

#raw_infoObject



47
48
49
# File 'lib/omniauth/strategies/edwith_oauth2.rb', line 47

def raw_info
  @raw_info ||= access_token.get(options.client_options[:user_info_url]).parsed
end