Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jwt sign

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