feat(auth): implement user authentication system
This commit is contained in:
parent
97116fed1c
commit
4847ab793a
7199 changed files with 38207 additions and 747767 deletions
10
node_modules/jws/lib/tostring.js
generated
vendored
Normal file
10
node_modules/jws/lib/tostring.js
generated
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
/*global module*/
|
||||
var Buffer = require('buffer').Buffer;
|
||||
|
||||
module.exports = function toString(obj) {
|
||||
if (typeof obj === 'string')
|
||||
return obj;
|
||||
if (typeof obj === 'number' || Buffer.isBuffer(obj))
|
||||
return obj.toString();
|
||||
return JSON.stringify(obj);
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue