How to integrate JWT Token

Hi All friends
I want to intergrate jwt token in my self hosted project
Any one can help ??
how to process a jwt token .

Thanks in Advance