summaryrefslogtreecommitdiff
path: root/src/Controllers/KeyController.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Controllers/KeyController.php')
-rw-r--r--src/Controllers/KeyController.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/Controllers/KeyController.php b/src/Controllers/KeyController.php
index 04f2c6d..a999e40 100644
--- a/src/Controllers/KeyController.php
+++ b/src/Controllers/KeyController.php
@@ -2,6 +2,7 @@
namespace App\Controllers;
+use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpFoundation\JsonResponse;
@@ -17,6 +18,15 @@ class KeyController
]);
}
+ public function upload(): Response
+ {
+ $request = Request::createFromGlobals();
+
+ return new JsonResponse([
+ "one_time_key_counts" => [],
+ ]);
+ }
+
public function query(string $serverName): Response
{}
}