From 77b99f7d3a8747f562f2b8f1e8df551aafea1b28 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Thu, 15 Apr 2021 13:35:06 +0300 Subject: Remove lorems and inpsumses --- site/public/register-docs/index.html | 75 +++++++++++++----------------------- 1 file changed, 27 insertions(+), 48 deletions(-) (limited to 'site/public/register-docs') diff --git a/site/public/register-docs/index.html b/site/public/register-docs/index.html index e3170f9..9a9b0c0 100644 --- a/site/public/register-docs/index.html +++ b/site/public/register-docs/index.html @@ -75,12 +75,6 @@ -
- - Gradecoin Side -
- - - @@ -89,53 +83,38 @@
Register Documentation
-

POST request to /register endpoint -Lets a [User] (=student) to authenticate themselves to the system -This request can be rejected if the payload is malformed (=not authenticated properly) or if -the [AuthRequest.user_id] of the request is not in the list of users that can hold a Gradecoin account

+

POST request to /register endpoint

+

Lets a user to authenticate themselves to the system. +Only people who are enrolled to the class can open Gradecoin accounts. +This is enforced with your Student ID and a one time password you will receive.

Authentication Process

-

Gradecoin Side

+
+{
+    "student_id": "e12345",
+    "passwd": "15 char secret",
+    "public_key": "---BEGIN PUBLIC KEY..."
+}
+
+
+{
+    "c": "auth_ciphertext",
+    "iv": "hexadecimal",
+    "key": "key_ciphertext"
+}
+
+

If your authentication process was valid, you will be given access and your public key fingerprint that is your address.

-- cgit v1.2.3-70-g09d2