10 lines
223 B
JavaScript
10 lines
223 B
JavaScript
|
const jwt = require('./')
|
||
|
|
||
|
function TokenGenerator (secretOrPrivateKey, secretOrPublicKey) {
|
||
|
this.secretOrPrivateKey = secretOrPrivateKey;
|
||
|
this.secretOrPublicKey = secretOrPublicKey;
|
||
|
}
|
||
|
|
||
|
TokenGenerator.prototype.sign()
|
||
|
|