Class: OmniAuth::Strategies::OAuth2Generic

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

Instance Method Summary collapse

Instance Method Details

#authorize_paramsObject



87
88
89
90
# File 'lib/omniauth/strategies/oauth2_generic.rb', line 87

def authorize_params
  params = super
  params.transform_values { |v| v.respond_to?(:call) ? v.call(request) : v }
end

#raw_infoObject



82
83
84
# File 'lib/omniauth/strategies/oauth2_generic.rb', line 82

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