From 32c55da68ab2e278b68d883cd5de3811a56da982 Mon Sep 17 00:00:00 2001 From: Erik Zhang Date: Wed, 21 Apr 2021 11:37:46 +0800 Subject: [PATCH] Add action --- authentication-scheme.mediawiki | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/authentication-scheme.mediawiki b/authentication-scheme.mediawiki index 780797f9..4389cdc6 100644 --- a/authentication-scheme.mediawiki +++ b/authentication-scheme.mediawiki @@ -32,7 +32,8 @@ The payloads are transmitted in the form of JSON.
 {
-  "grant_type": "signature",
+  "action": "Authentication",
+  "grant_type": "Signature",
   "allowed_algorithms": ["ECDSA-P256"],
   "network": 5195086,
   "nonce": "13458238842203010919",
@@ -41,9 +42,13 @@ The payloads are transmitted in the form of JSON.
 }
 
+=====action===== + +This field should be fixed to "Authentication" and can be extended in the future to support more actions. + =====grant_type===== -This field should be fixed to "signature" and can be extended in the future to support more authentication schemes. +This field should be fixed to "Signature" and can be extended in the future to support more authentication schemes. =====allowed_algorithms=====