I am working with the Javascript Json Web Token library, where I create the token with the function:
var token = jwt.sign({data: 'foobar', 'secret', { expiresIn: 60 * 60 });
To verify my usage token, the function:
jwt.verify(token, 'shh...
asked by
13.07.2018 / 21:15