Tag: authentication
-

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 4
Create user folder and Create a new file called create_user.php and Following steps to be performed for this 1. We need to set headers on this new file so that it will only accept JSON data from a specific URL. 2. Connect to database and register table 3. Assign submitted data to object properties 4. Use the create…