3 lines
157 B
JavaScript
3 lines
157 B
JavaScript
|
TokenGen = require('./tokenGenerator')
|
||
|
tg = new TokenGen('a', 'a', { algorithm: 'HS256', keyid: '1', noTimestamp: true, expiresIn: '2m', notBefore: '10s' })
|