Class: OmniAuth::Strategies::Codissimo
- Inherits:
-
OAuth2
- Object
- OAuth2
- OmniAuth::Strategies::Codissimo
- Defined in:
- lib/omniauth-codissimo.rb
Instance Method Summary collapse
Instance Method Details
#raw_info ⇒ Object
24 25 26 |
# File 'lib/omniauth-codissimo.rb', line 24 def raw_info @raw_info ||= access_token.get('/api/me.json').parsed end |
#request_phase ⇒ Object
28 29 30 |
# File 'lib/omniauth-codissimo.rb', line 28 def request_phase redirect client.auth_code.({:redirect_uri => callback_url, :app => request.params["app"]}.merge()) end |