From 02f61ca56229887101dc6f17a79700fe29914995 Mon Sep 17 00:00:00 2001 From: Nathanne Isip Date: Thu, 14 Nov 2024 06:32:46 +0800 Subject: [PATCH] Added Authentication service logout action on documentation pages. --- documentations/src/views/Authentication.vue | 39 ++++++++++++++------- 1 file changed, 26 insertions(+), 13 deletions(-) diff --git a/documentations/src/views/Authentication.vue b/documentations/src/views/Authentication.vue index a88617f..b1e499b 100644 --- a/documentations/src/views/Authentication.vue +++ b/documentations/src/views/Authentication.vue @@ -43,7 +43,7 @@

📡 Authentication API Calls

- Auth New User + Auth: New User

Create a new user on account list of specified QLBase application key and ID.

api/index.php?action=auth_create_user
@@ -62,7 +62,7 @@ "enabled": "0|1" } - Auth Update by Username + Auth: Update by Username

Update QLBase application account informations by username of user.

api/index.php?action=auth_update_by_username
@@ -81,7 +81,7 @@ "enabled": "0|1" } - Auth Update by Email + Auth: Update by Email

Update QLBase application account information by email of user.

api/index.php?action=auth_update_by_email
@@ -100,7 +100,7 @@ "enabled": "0|1" } - Auth Delete by Username + Auth: Delete by Username

Delete QLBase application account information by username of user.

api/index.php?action=auth_delete_by_username
@@ -113,7 +113,7 @@ "username": "<username>" } - Auth Delete by Email + Auth: Delete by Email

Delete QLBase application account information by email of user.

api/index.php?action=auth_delete_by_email
@@ -126,7 +126,7 @@ "email": "<email>" } - Auth Get by Username + Auth: Get by Username

Fetch QLBase application account informations specified by username of user.

api/index.php?action=auth_get_by_username
@@ -155,7 +155,7 @@ ] } - Auth Get by Email + Auth: Get by Email

Fetch QLBase application account informations specified by email of user.

api/index.php?action=auth_get_by_email
@@ -184,7 +184,7 @@ ] } - Auth Enable User + Auth: Enable User

Enable specified QLBase application user account.

api/index.php?action=auth_enable_user
@@ -197,7 +197,7 @@ "username": "<username>" } - Auth Disable User + Auth: Disable User

Disable specified QLBase application user account.

api/index.php?action=auth_disable_user
@@ -210,7 +210,7 @@ "username": "<username>" } - Auth Is User Enabled + Auth: Is User Enabled

Check if the specified QLBase application user account is either enabled or disabled.

api/index.php?action=auth_is_enabled
@@ -233,7 +233,7 @@ "value": "<enabled>", } - Auth Login Username + Auth: Login Username

Log-in a specified QLBase application user account using username and an MD5-hashed password string.

api/index.php?action=auth_login_username
@@ -258,7 +258,7 @@ "value": "<logged_in>" } - Auth Login Email + Auth: Login Email

Log-in a specified QLBase application user account using email and an MD5-hashed password string.

api/index.php?action=auth_login_email
@@ -283,7 +283,20 @@ "value": "<logged_in>" } -Auth Fetch All Users + Auth: Logout +

Revoke the validity of the session ID (in UUID form) to logout the authenticated account.

+
api/index.php?action=auth_logout
+ + Payload Structure + + +
{
+    "sess_id": "<uuid>"
+}
+ + Auth: Fetch All Users

Fetch all the QLBase application user informations including username, email, enability, and timestamp of creation.

api/index.php?action=auth_fetch_all