demarches-normaliennes/app/models/france_connect_particulier_client.rb
2018-01-15 17:08:38 +01:00

9 lines
207 B
Ruby

class FranceConnectParticulierClient < OpenIDConnect::Client
def initialize(code = nil)
super(FRANCE_CONNECT[:particulier])
if code.present?
self.authorization_code = code
end
end
end