Created the JWT authentication for the editor so that it's more secure and can potentially be used to create a desktop app in the future. Used Tuupola's JWT auth middleware implementation to help with the auth part. Used Firebase's JWT method to create the token
Signed-off-by: rodude123 <rodude123@gmail.com>
This commit is contained in:
Vendored
+4
@@ -10,6 +10,10 @@ require_once "./config.php";
|
||||
*/
|
||||
class projectData
|
||||
{
|
||||
/**
|
||||
* Get all project data
|
||||
* @return array - Array of all project data or error message
|
||||
*/
|
||||
function getProjectData(): array
|
||||
{
|
||||
$conn = dbConn();
|
||||
|
||||
Reference in New Issue
Block a user