How to verify JWT Token in CodeIgniter 3.x for every request from Client |
After a long time again I am here to resolve my problem. I am much new to Codeigniter framework. I just started learning RESTful api's in CodeIgiter. Then I got to Know about that we can use JWT instead of Sessions. I am able to use the JWT and generated the token successfully. Now the problem here is, I want to verify the generated token for every request from the client. for example, this is the basic url or api,
Now I want to verify something like this: http://localhost/codeigniter/api?token="here the generated token will come" How do I implement it, using Codeigniter 3.x I am using codeigniter-rest server for API calls, and php-jwt to omegle shagle voojio generate tokens. |
Welcome Guest, Not a member yet? Register Sign In |