Class: OmniAuth::Strategies::Codissimo

Inherits:
OAuth2
  • Object
show all
Defined in:
lib/omniauth-codissimo.rb

Instance Method Summary collapse

Instance Method Details

#raw_infoObject



24
25
26
# File 'lib/omniauth-codissimo.rb', line 24

def raw_info
  @raw_info ||= access_token.get('/api/me.json').parsed
end

#request_phaseObject



28
29
30
# File 'lib/omniauth-codissimo.rb', line 28

def request_phase
  redirect client.auth_code.authorize_url({:redirect_uri => callback_url, :app => request.params["app"]}.merge(authorize_params))
end