class OmniAuth::Strategies::Hubspot
Public Instance Methods
callback_url()
click to toggle source
private
# File lib/omniauth/strategies/hubspot.rb, line 90 def callback_url full_host + script_name + callback_path end
identity()
click to toggle source
# File lib/omniauth/strategies/hubspot.rb, line 84 def identity @identity ||= access_token.get("/oauth/v1/access-tokens/#{access_token.token}").parsed end