Class: OmniAuth::Strategies::Rewardstyle

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

Constant Summary collapse

DEFAULT_SCOPE =
'favorites'

Instance Method Summary collapse

Instance Method Details

#authorize_paramsObject



18
19
20
21
22
# File 'lib/omniauth/strategies/rewardstyle.rb', line 18

def authorize_params
  super.tap do |params|
    params[:scope] ||= DEFAULT_SCOPE
  end
end