Class: OmniAuth::Strategies::Pipefy

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

Instance Method Summary collapse

Instance Method Details

#callback_urlObject



32
33
34
# File 'lib/omniauth/strategies/pipefy.rb', line 32

def callback_url
  full_host + script_name + callback_path
end

#token_infoObject



24
25
26
# File 'lib/omniauth/strategies/pipefy.rb', line 24

def token_info
  @token_info ||= access_token.to_hash
end

#user_infoObject



28
29
30
# File 'lib/omniauth/strategies/pipefy.rb', line 28

def 
 @user_info ||= token_info['user']
end