Class: OmniAuth::Strategies::Behance

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

Instance Method Summary collapse

Instance Method Details

#callback_phaseObject



18
19
20
# File 'lib/omniauth/strategies/behance.rb', line 18

def callback_phase
  super
end

#raw_infoObject



44
45
46
# File 'lib/omniauth/strategies/behance.rb', line 44

def raw_info
  @raw_info ||= access_token.get("/v2/users/#{access_token.params['user']['id']}", params: {api_key: client.id}).parsed['user']
end

#request_phaseObject



14
15
16
# File 'lib/omniauth/strategies/behance.rb', line 14

def request_phase
  super
end