Class: OmniAuth::Strategies::Edumall

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

Constant Summary collapse

EDUMALL_SSO_URL =

CUSTOM_PROVIDER_URL = ‘accounts.edumall.vn

'https://accounts.edumall.vn'

Instance Method Summary collapse

Instance Method Details

#raw_infoObject



31
32
33
# File 'lib/omniauth/strategies/edumall.rb', line 31

def raw_info
  @raw_info ||= access_token.get("/auth/sso/user.json?oauth_token=#{access_token.token}").parsed
end