Delete old code

This commit is contained in:
Xavier J 2016-12-19 14:27:50 +01:00
parent 2f9444ea14
commit 5791206a45

View file

@ -1,12 +1,4 @@
class FranceConnectService
def self.retrieve_user_informations_entreprise code
client = FranceConnectEntrepriseClient.new code: code
access_token = client.access_token!(client_auth_method: :secret)
user_info = access_token.userinfo!
Hashie::Mash.new user_info.raw_attributes
end
def self.retrieve_user_informations_particulier code
client = FranceConnectParticulierClient.new code: code