Class: OmniAuth::Strategies::ClickUp
- Inherits:
-
OAuth2
- Object
- OAuth2
- OmniAuth::Strategies::ClickUp
- Defined in:
- lib/omniauth/strategies/click_up.rb
Instance Method Summary collapse
- #callback_phase ⇒ Object
- #raw_info ⇒ Object
-
#request_phase ⇒ Object
These are called after authentication has succeeded.
Instance Method Details
#callback_phase ⇒ Object
26 27 28 |
# File 'lib/omniauth/strategies/click_up.rb', line 26 def callback_phase super end |
#raw_info ⇒ Object
42 43 44 45 |
# File 'lib/omniauth/strategies/click_up.rb', line 42 def raw_info access_token.[:header_format] = "%s" @raw_info ||= JSON.load(access_token.get('user').body) end |
#request_phase ⇒ Object
These are called after authentication has succeeded. If possible, you should try to set the UID without making additional calls (if the user id is returned with the token or as a URI parameter). This may not be possible with all providers.
22 23 24 |
# File 'lib/omniauth/strategies/click_up.rb', line 22 def request_phase super end |