Class: OmniAuth::Strategies::ClickUp

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

Instance Method Summary collapse

Instance Method Details

#callback_phaseObject



26
27
28
# File 'lib/omniauth/strategies/click_up.rb', line 26

def callback_phase
  super
end

#raw_infoObject



42
43
44
45
# File 'lib/omniauth/strategies/click_up.rb', line 42

def raw_info
  access_token.options[:header_format] = "%s"
  @raw_info ||= JSON.load(access_token.get('user').body)
end

#request_phaseObject

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