Class: OmniAuth::Strategies::Behance
- Inherits:
-
OAuth2
- Object
- OAuth2
- OmniAuth::Strategies::Behance
- Defined in:
- lib/omniauth/strategies/behance.rb
Instance Method Summary collapse
Instance Method Details
#callback_phase ⇒ Object
18 19 20 |
# File 'lib/omniauth/strategies/behance.rb', line 18 def callback_phase super end |
#raw_info ⇒ Object
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_phase ⇒ Object
14 15 16 |
# File 'lib/omniauth/strategies/behance.rb', line 14 def request_phase super end |