Class: OmniAuth::Strategies::Klarna

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

Constant Summary collapse

PROVIDER_URL =
'https://merchants.klarna.com'
CLIENT_OPTIONS =
{ site: PROVIDER_URL, authorize_url: '/oauth/authorize', token_url: '/oauth/access_token' }

Instance Method Summary collapse

Instance Method Details

#raw_infoObject



29
30
31
# File 'lib/omniauth/strategies/klarna.rb', line 29

def raw_info
  @raw_info ||= access_token.get('/oauth/token').parsed
end