Recommend this page to a friend! |
Classes of Boss Ibrahim Mussa | PHP JWT Decode and Generate | README.md | Download |
|
Downloadweb_tokensimple module to help generate a simple token using php INTEGRATIONcreate a new instance of the class
the class Token has 2 Method:
* generate:
use this method to generate a new token key.
it take 2 params.
- the first parameter is an array of information according to the data to be encoded.
it has 2 key :
1: - the second parameter (optional) is * decode use this method to valid your token, and restore the encoded the data, and it take 2 parameters. - the first parameter is your token string generated with is devide in 3 parts:
the
- the second parameter (optional) is |