Class: OmniAuth::Strategies::Mspcfo

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

Instance Method Summary collapse

Instance Method Details

#raw_infoObject



27
28
29
30
31
32
33
# File 'lib/omniauth/strategies/mspcfo.rb', line 27

def raw_info
  @raw_info ||= if (resp = access_token.get('/me').parsed)
                  resp['data'] || {}
                else
                  {}
                end
end