Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jsonwebtoken

jwt.sign({  exp: Math.floor(Date.now() / 1000) + (60 * 60),  data: 'foobar'}, 'secret');
Source by www.npmjs.com #
 
PREVIOUS NEXT
Tagged: #jsonwebtoken
ADD COMMENT
Topic
Name
6+6 =