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