class OmniAuth::Strategies::Snoonet
Constants
- DEFAULT_SCOPE
Public Instance Methods
raw_info()
click to toggle source
# File lib/omniauth/strategies/snoonet.rb, line 31 def raw_info @raw_info ||= access_token.get('/api/v1/info').parsed || {} end
request_phase()
click to toggle source
Calls superclass method
# File lib/omniauth/strategies/snoonet.rb, line 35 def request_phase options[:authorize_params] = { :client_id => options['client_id'], :response_type => 'code', :scope => (options['scope'] || DEFAULT_SCOPE) } super end