Month: November 2021
-

User Authentication using REST API and JSON Web Tokens (JWT) – Step 7
Login user with JSON Web Token Almost all the process is similar as we done in previous step for login user but now we do the same thing with JWT. For this we have to perform the following steps: Now create Login Function in user. php of object folder 2. Use theses line in the…
-

User Authentication using REST API and JSON Web Tokens (JWT) – Step 6
Create user with JSON Web Token Almost all the process is similar as we done in previous step to create the user but now we do the same thing with JWT. For this we have to perform the following steps: Download composer using command in api folder using composer require firebase/php-jwt Create new file core.…
-

User Authentication using REST API and JSON Web Tokens (JWT) – Step 5
Simple Login via Unique ID Create a new file login.php file inside user folder and use the following code
-

User Authentication using REST API and JSON Web Tokens (JWT) – Step 5
Simple Login via Unique ID Create a new Single Record fetch function inside the user.php file inside object folder and use the following code