microserviciile de register, login finalizate

This commit is contained in:
Cerbu Andrei Mihnea
2023-06-15 22:21:53 +03:00
parent a739a66ae4
commit 4e585ba278
159 changed files with 4775 additions and 1747 deletions
+23
View File
@@ -0,0 +1,23 @@
<?php
$headers_array = [
"/authentication" => [
"register" => [
"Content-Type" => "application/json",
"Authorization" => hash('md5', 'service_authentication'),
"Auth-Request" => "register"
],
"login" => [
"Content-Type" => "application/json",
"Authorization" => hash('md5', 'service_authentication'),
"Auth-Request" => "login"
],
"default" => [
"Content-Type" => "application/json",
"Authorization" => hash('md5', 'service_authentication')
],
]
];
$_SESSION['headers_configuration'] = $headers_array;