php

Secure your PHP Web Services using JWT

  • Adel Barham

    how ould that work with database?

  • Sunil

    Fatal error: Uncaught Error: Class ‘TuupolaMiddlewareCors’ not
    found in jwtAppsrcmiddleware.php:54
    Stack trace:
    #0 jwtApppublicindex.php(24):
    require()
    #1 {main}
    thrown in jwtAppsrcmiddleware.php on line 54

  • Rani Somu

    How to fetch MySQL data via rest api in this project? I have added DB credentials in settings.php and dependencies.php. I added one route as /todos to fetch all data from DB after authenticate with jwt, but it shows page not found. Could you please help me.

  • Lubomir Toshev

    I do not see how to access the token inside a rest method?

    I tried $this->jwt? it does not work, how do I get the decoded token into my rest methods to extract data from it?

ABOUT
Trinity tuts is one of the best place for beginners to learn android, php, google and web design tutorial and tips. - Maintained by Aneh Thakur
Subscribe to Blog via Email

Join 3,874 other subscribers