Class: OmniAuth::Strategies::Bancsabadell

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

Constant Summary collapse

API_BS_HOST =
'https://developers.bancsabadell.com'

Instance Method Summary collapse

Instance Method Details

#authorize_paramsObject



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

def authorize_params
  super.merge({
    response_type: :code,
    client_id: options.client_id,
    scope: "read write"
  })
end

#request_phaseObject



14
15
16
# File 'lib/omniauth/strategies/bancsabadell.rb', line 14

def request_phase
  super
end