Validating the JWT token with database in php

Hi guys, I am new to JWT and I have been working with JWT authentication in php. Generated the token with JWT::encode and send it through header and decoded by JWT::decode method. My problem is that how can I validate this JWT token with database in php. What are the predefined methods of JWT to be used to validate JWT token. In java, we have filters and interceptors and in same way what are the filters and equivalent interceptors in php to validate the JWT token with database in php.
Thanks in advanced

Hi @urajesh647,

Welcome to the Community!

We have some documentation on how to verify a JWT when using a PHP API. Maybe it will provide some insight.

Let me know if this helps!

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.