Delete old code
This commit is contained in:
parent
2f9444ea14
commit
5791206a45
1 changed files with 0 additions and 8 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue