Class: OmniAuth::Strategies::TxSSC

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

Overview

Authenticate with the TxSSC SSO

Instance Method Summary collapse

Instance Method Details

#callback_urlObject



39
40
41
# File 'lib/omniauth/strategies/txssc.rb', line 39

def callback_url
  full_host + script_name + callback_path
end

#raw_infoObject



33
34
35
36
37
# File 'lib/omniauth/strategies/txssc.rb', line 33

def raw_info
  access_token.options[:mode] = :query
  access_token.options[:param_name] = :access_token
  @raw_info ||= access_token.get('/me').parsed
end