Class: OmniAuth::Strategies::Pipefy
- Inherits:
-
OAuth2
- Object
- OAuth2
- OmniAuth::Strategies::Pipefy
- Defined in:
- lib/omniauth/strategies/pipefy.rb
Instance Method Summary collapse
Instance Method Details
#callback_url ⇒ Object
32 33 34 |
# File 'lib/omniauth/strategies/pipefy.rb', line 32 def callback_url full_host + script_name + callback_path end |
#token_info ⇒ Object
24 25 26 |
# File 'lib/omniauth/strategies/pipefy.rb', line 24 def token_info @token_info ||= access_token.to_hash end |
#user_info ⇒ Object
28 29 30 |
# File 'lib/omniauth/strategies/pipefy.rb', line 28 def user_info @user_info ||= token_info['user'] end |