demarches-normaliennes/app/models/france_connect_particulier_client.rb

10 lines
207 B
Ruby
Raw Normal View History

class FranceConnectParticulierClient < OpenIDConnect::Client
def initialize(code = nil)
2018-01-11 14:04:24 +01:00
super(FRANCE_CONNECT[:particulier])
if code.present?
self.authorization_code = code
end
end
end