Class: OmniAuth::Strategies::LineNotify

Inherits:
OAuth2
  • Object
show all
Defined in:
lib/omniauth/strategies/line-notify.rb

Instance Method Summary collapse

Instance Method Details

#authorize_paramsObject



14
15
16
17
18
# File 'lib/omniauth/strategies/line-notify.rb', line 14

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

#callback_urlObject



20
21
22
# File 'lib/omniauth/strategies/line-notify.rb', line 20

def callback_url
  full_host + script_name + callback_path
end